mirror of https://gitee.com/openkylin/libvirt.git
ci: Make container environment available to scripts
For container images targeted at cross-building, we bake a small amount of architecture-specific information in the environment so that builds can work as expected without requiring additional work from the user; unfortunately this information got lost as soon as we called sudo. Explicitly allow it. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
b2aec51686
commit
71517ae4db
|
@ -220,6 +220,8 @@ ci-run-command@%: ci-prepare-tree
|
|||
--login \
|
||||
--user="#$(CI_UID)" \
|
||||
--group="#$(CI_GID)" \
|
||||
CONFIGURE_OPTS="$$CONFIGURE_OPTS" \
|
||||
PKG_CONFIG_LIBDIR="$$PKG_CONFIG_LIBDIR" \
|
||||
CI_CONT_SRCDIR="$(CI_CONT_SRCDIR)" \
|
||||
CI_CONT_BUILDDIR="$(CI_CONT_BUILDDIR)" \
|
||||
CI_SMP="$(CI_SMP)" \
|
||||
|
|
Loading…
Reference in New Issue