]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Stop using --workdir
authorAndrea Bolognani <abologna@redhat.com>
Thu, 15 Aug 2019 18:56:24 +0000 (20:56 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 21 Aug 2019 16:58:34 +0000 (18:58 +0200)
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>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
ci/Makefile

index aa9e5293e9ca6dd341caef8e3d84e499565d58ca..27c1049b38224e6720073d7c0523523deba5a0c0 100644 (file)
@@ -172,7 +172,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
@@ -185,7 +184,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)