mockbuild: drop fastestmirror and weakdependencies
Try to be install as close to what people do in production, which means sticking to the defaults.
This commit is contained in:
parent
c686dbe03a
commit
4b084e3b64
1 changed files with 0 additions and 6 deletions
|
|
@ -29,12 +29,6 @@ fi
|
||||||
greenprint "📦 Installing mock requirements"
|
greenprint "📦 Installing mock requirements"
|
||||||
sudo dnf -y install createrepo_c make mock python3-pip rpm-build s3cmd
|
sudo dnf -y install createrepo_c make mock python3-pip rpm-build s3cmd
|
||||||
|
|
||||||
# Enable fastestmirror for mock on Fedora.
|
|
||||||
if [[ $ID == fedora ]]; then
|
|
||||||
sudo sed -i '/^install_weak_deps=.*/a fastestmirror=1' \
|
|
||||||
/etc/mock/templates/fedora-branched.tpl
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Mock configuration file to use for building RPMs.
|
# Mock configuration file to use for building RPMs.
|
||||||
MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)"
|
MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue