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

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


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


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/13/8013/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index e3b217c..6b1c413 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -125,7 +125,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/8013
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40f9517122aaa6906e8fc0962b4b8008dfddb368
Gerrit-Change-Number: 8013
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/019ffd84/attachment.html>


More information about the asterisk-code-review mailing list