#74 [insufficient] Fedora CI: Use mock with --no-bootstrap-chroot
Closed 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/pyproject-rpm-macros mock-no-bootstrap-chroot  into  master

file modified
+2 -2
@@ -34,8 +34,8 @@ 

  

  # build the SRPM in mock

  res=0

- mock -r $config --enablerepo=local init

- mock -r $config --enablerepo=local ~/rpmbuild/SRPMS/${1}-*.src.rpm || res=$?

+ mock -r $config --no-bootstrap-chroot --enablerepo=local init

+ mock -r $config --no-bootstrap-chroot --enablerepo=local ~/rpmbuild/SRPMS/${1}-*.src.rpm || res=$?

  

  # move the results to the artifacts directory, so we can examine them

  artifacts=${TEST_ARTIFACTS:-/tmp/artifacts}