schutzbot/mockbuild.sh: let mock bootstrap chroot
Don't instruct mock to not bootstrap the chroot. This is making builds to fail on F40 due to DNF5. The error message suggests to bootstrap chroot. Example: https://gitlab.com/redhat/services/products/image-builder/ci/osbuild/-/jobs/7239614060#L1363 Note that e.g. osbuild-composer does not specify the --no-bootstrap-chroot option either. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
4c806cbe34
commit
8db6b8985a
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ sudo usermod -a -G mock "$(whoami)"
|
|||
|
||||
# Compile RPMs in a mock chroot
|
||||
greenprint "🎁 Building RPMs with mock"
|
||||
mock -r $MOCK_CONFIG --no-bootstrap-chroot \
|
||||
mock -r $MOCK_CONFIG \
|
||||
--resultdir $REPO_DIR \
|
||||
rpmbuild/SRPMS/*.src.rpm
|
||||
sudo chown -R $USER ${REPO_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue