mockbuild: do not subscribe
All runners are already subscribed.
This commit is contained in:
parent
98c4c90637
commit
26073e04b8
1 changed files with 0 additions and 7 deletions
|
|
@ -10,13 +10,6 @@ function greenprint {
|
|||
source /etc/os-release
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# Register RHEL if we are provided with a registration script.
|
||||
if [[ $ID == "rhel" && -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status; then
|
||||
greenprint "🪙 Registering RHEL instance"
|
||||
sudo chmod +x $RHN_REGISTRATION_SCRIPT
|
||||
sudo $RHN_REGISTRATION_SCRIPT
|
||||
fi
|
||||
|
||||
# Mock configuration file to use for building RPMs.
|
||||
MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue