qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 3/9] docker: avoid dependency on 'realpath' package


From: Fam Zheng
Subject: [Qemu-devel] [PULL 3/9] docker: avoid dependency on 'realpath' package
Date: Fri, 9 Sep 2016 13:52:17 +0800

From: Sascha Silbe <address@hidden>

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 <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
---
 tests/docker/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 4f4707d..1b20db0 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 \
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]