[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
- [Qemu-devel] [PULL 0/9] Docker patches, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 1/9] docker: Add a glib2-2.22 image, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 2/9] docker.py: don't hang on large docker output, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 3/9] docker: avoid dependency on 'realpath' package,
Fam Zheng <=
- [Qemu-devel] [PULL 4/9] docker: debian-bootstrap.pre: print error messages to stderr, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 5/9] docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 6/9] docker: print warning if EXECUTABLE is not set when building debootstrap image, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 7/9] docker: make sure debootstrap is at least 1.0.67, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 9/9] docker: silence debootstrap when --quiet is given, Fam Zheng, 2016/09/09
- [Qemu-devel] [PULL 8/9] docker: build debootstrap after cloning, Fam Zheng, 2016/09/09
- Re: [Qemu-devel] [PULL 0/9] Docker patches, Peter Maydell, 2016/09/09