From 8db6b8985a71476b1404aadbc530b574f89ab6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Mon, 1 Jul 2024 21:45:49 +0200 Subject: [PATCH] schutzbot/mockbuild.sh: let mock bootstrap chroot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- schutzbot/mockbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 1ff15d15..e5717224 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -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}