Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit feaa9e8

Browse files
committed
Update Xen "xe-guest-utilities" to 7.14.0
1 parent 29ec907 commit feaa9e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,19 @@ RUN cp -vr /usr/src/parallels/tools/* ./; \
403403

404404
# https://github.com/xenserver/xe-guest-utilities/tags
405405
# updated via "update.sh"
406-
ENV XEN_VERSION 7.13.0
406+
ENV XEN_VERSION 7.14.0
407407

408408
RUN wget -O /xen.tgz "https://github.com/xenserver/xe-guest-utilities/archive/v$XEN_VERSION.tar.gz"; \
409409
mkdir /usr/src/xen; \
410410
tar --extract --file /xen.tgz --directory /usr/src/xen --strip-components 1; \
411411
rm /xen.tgz
412-
RUN make -C /usr/src/xen -j "$(nproc)" PRODUCT_VERSION="$XEN_VERSION" RELEASE='boot2docker'; \
412+
# download "golang.org/x/sys/unix" dependency (new in 7.14.0)
413+
RUN cd /usr/src/xen; \
414+
mkdir -p GOPATH/src/golang.org/x/sys; \
415+
wget -O sys.tgz 'https://github.com/golang/sys/archive/fc99dfbffb4e5ed5758a37e31dd861afe285406b.tar.gz'; \
416+
tar -xf sys.tgz -C GOPATH/src/golang.org/x/sys --strip-components 1; \
417+
rm sys.tgz
418+
RUN GOPATH='/usr/src/xen/GOPATH' make -C /usr/src/xen -j "$(nproc)" PRODUCT_VERSION="$XEN_VERSION" RELEASE='boot2docker'; \
413419
tar --extract --file "/usr/src/xen/build/dist/xe-guest-utilities_$XEN_VERSION-boot2docker_x86_64.tgz"; \
414420
tcl-chroot xenstore || [ "$?" = 1 ]
415421

0 commit comments

Comments
 (0)