Skip to content

Commit

Permalink
schutzbot: mock build with nosync=True
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Nov 7, 2023
1 parent cd1c5f0 commit e73b4d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schutzbot/mockbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fi

# Install requirements for building RPMs in mock.
greenprint "📦 Installing mock requirements"
dnf_install_with_retry createrepo_c make mock python3-pip rpm-build s3cmd
dnf_install_with_retry createrepo_c make mock python3-pip rpm-build s3cmd nosync

# Print some data.
greenprint "🧬 Using mock config: ${MOCK_CONFIG}"
Expand All @@ -137,6 +137,7 @@ sudo usermod -a -G mock "$(whoami)"
greenprint "🎁 Building RPMs with mock"
mock -r $MOCK_CONFIG --no-bootstrap-chroot \
--resultdir $REPO_DIR \
--config-opts=nosync=True \
rpmbuild/SRPMS/*.src.rpm
sudo chown -R $USER ${REPO_DIR}

Expand Down

0 comments on commit e73b4d0

Please sign in to comment.