From 30d1668c0318fd5f6147d3df6d7ecc883926a104 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Fri, 28 Feb 2014 09:37:07 -0500 Subject: [PATCH] Add $EXTRA_ARGS back to yum call This got removed accidentally in a recent consolidation of install-packages. Adding it back so that -d support works again. Closes-bug: #1287142 Change-Id: If17e613bc9bc0f808517edfa1506858d3b9dce54 --- elements/yum/bin/install-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/yum/bin/install-packages b/elements/yum/bin/install-packages index abe65862..7a351abe 100755 --- a/elements/yum/bin/install-packages +++ b/elements/yum/bin/install-packages @@ -41,7 +41,7 @@ if [ -n "$WHITELIST" ]; then if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ]; then rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release fi - yum -y install $(map-packages $WHITELIST) + yum -y install $EXTRA_ARGS $(map-packages $WHITELIST) for pkg in "$@"; do if [ "$pkg" = "python-pip" ] ; then alternatives --install /usr/bin/pip pip /usr/bin/pip-python 10