[libvirt] [PATCH 10/10] ci: Stop using --workdir

Andrea Bolognani posted 10 patches 6 years, 5 months ago
[libvirt] [PATCH 10/10] ci: Stop using --workdir
Posted by Andrea Bolognani 6 years, 5 months ago
Now that we're using sudo, the initial work directory is no
longer relevant since the user will find themselves in their
home directory when they get control anyway.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 ci/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ci/Makefile b/ci/Makefile
index 86a07049ac..35a35d6082 100644
--- a/ci/Makefile
+++ b/ci/Makefile
@@ -168,7 +168,6 @@ CI_GIT_ARGS = \
 #             as dev so that file ownership matches host
 #             instead of root:root
 #   --volume  to pass in the cloned git repo & config
-#   --workdir to set cwd to vpath build location
 #   --ulimit  lower files limit for performance reasons
 #   --interactive
 #   --tty     Ensure we have ability to Ctrl-C the build
@@ -181,7 +180,6 @@ CI_ENGINE_ARGS = \
 	$(CI_HOME_MOUNTS) \
 	$(CI_SCRIPT_MOUNTS) \
 	--volume $(CI_HOST_SRCDIR):$(CI_CONT_SRCDIR):z \
-	--workdir $(CI_CONT_SRCDIR) \
 	--ulimit nofile=$(CI_ULIMIT_FILES):$(CI_ULIMIT_FILES) \
 	--cap-add=SYS_PTRACE \
 	$(NULL)
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list