[Asterisk-code-review] install prereq: Support package manager DNF and yum option s... (asterisk[13])

Alexander Traud asteriskteam at digium.com
Fri Jan 19 04:48:09 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8012


Change subject: install_prereq: Support package manager DNF and yum option strict=1.
......................................................................

install_prereq: Support package manager DNF and yum option strict=1.

This re-enables the script ./contrib/scripts/install_prereq on Fedora 22 and
newer, and on RHEL/CentOS when the option strict=1 was set for yum install.

ASTERISK-27598
Reported by: Hunter Stevens, Said Masoud

Change-Id: I40f9517122aaa6906e8fc0962b4b8008dfddb368
---
M contrib/scripts/install_prereq
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/8012/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index 67a6e2b..c9dc376 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -124,7 +124,7 @@
 handle_rh() {
 	extra_packs=`check_installed_rpms $PACKAGES_RH`
 	if [ x"$extra_packs" != "x" ] ; then
-		$testcmd yum install -y $extra_packs
+		$testcmd yum install --skip-broken --assumeyes $extra_packs
 	fi
 }
 

-- 
To view, visit https://gerrit.asterisk.org/8012
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40f9517122aaa6906e8fc0962b4b8008dfddb368
Gerrit-Change-Number: 8012
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180119/f486dfd8/attachment.html>


More information about the asterisk-code-review mailing list