From: Sascha Silbe Date: Tue, 6 Sep 2016 20:05:45 +0000 (+0200) Subject: docker: avoid dependency on 'realpath' package X-Git-Tag: v2.8.0-rc0~152^2~6 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=08f4e8d23d9043af9283c957d6da7fcce7ff4d39;p=qemu-xen-unstable.git docker: avoid dependency on 'realpath' package The 'realpath' executable is shipped in a separate package that isn't installed by default on some distros. We already use 'readlink -e' (provided by GNU coreutils) in some other part of the code, so let's settle for that instead. Signed-off-by: Sascha Silbe Message-Id: <1473192351-601-3-git-send-email-silbe@linux.vnet.ibm.com> Signed-off-by: Fam Zheng --- diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 4f4707dae0..1b20db09e2 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -116,7 +116,7 @@ docker-run-%: docker-qemu-src -e EXTRA_CONFIGURE_OPTS=$(EXTRA_CONFIGURE_OPTS) \ -e V=$V -e J=$J -e DEBUG=$(DEBUG)\ -e CCACHE_DIR=/var/tmp/ccache \ - -v $$(realpath $(DOCKER_SRC_COPY)):/var/tmp/qemu:z$(COMMA)ro \ + -v $$(readlink -e $(DOCKER_SRC_COPY)):/var/tmp/qemu:z$(COMMA)ro \ -v $(DOCKER_CCACHE_DIR):/var/tmp/ccache:z \ qemu:$(IMAGE) \ /var/tmp/qemu/run \