From b2bb5439dce2639363618f898d238b8d4e2bc8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 17 Aug 2022 01:46:00 +0200 Subject: [PATCH] CI: Invoke mock with --isolation=simple to workaround problems with systemd-nspawn See https://pagure.io/fedora-ci/general/issue/217 --- tests/mocktest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mocktest.sh b/tests/mocktest.sh index 08ed838..d97c7f9 100755 --- a/tests/mocktest.sh +++ b/tests/mocktest.sh @@ -59,8 +59,8 @@ rpmbuild -bs ${pkgname}.spec # build the SRPM in mock res=0 -mock -r $config --enablerepo="$repos" init -mock -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$? +mock --isolation=simple -r $config --enablerepo="$repos" init +mock --isolation=simple -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$? # move the results to the artifacts directory, so we can examine them artifacts=${TEST_ARTIFACTS:-/tmp/artifacts}