[libvirt] [PATCH 05/10] ci: Move source directory under $(CI_USER_HOME)

Andrea Bolognani abologna at redhat.com
Fri Aug 16 09:49:49 UTC 2019


Now that we have a home directory for the user, storing the
source there rather than in a custom top-level directory is
the obvious choice.

Later on we're also going to add some more files related to
builds, and storing everything in the user's home directory
will keep things nice and tidy.

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

diff --git a/ci/Makefile b/ci/Makefile
index f52a0bf621..dc7ee6c037 100644
--- a/ci/Makefile
+++ b/ci/Makefile
@@ -18,7 +18,7 @@ CI_HOST_SRCDIR = $(CI_SCRATCHDIR)/src
 # The directory holding the source inside the
 # container, i.e. where we want to expose
 # the $(CI_HOST_SRCDIR) directory from the host
-CI_CONT_SRCDIR = /src
+CI_CONT_SRCDIR = $(CI_USER_HOME)/libvirt
 
 # Relative directory to perform the build in. This
 # defaults to using a separate build dir, but can be
-- 
2.21.0




More information about the libvir-list mailing list