fedora: disable adobe repo in default template (#828)

This commit is contained in:
Marek Marczykowski-Górecki 2014-07-02 01:05:21 +02:00
parent 93cea2c93f
commit 634ddcb764
2 changed files with 7 additions and 2 deletions

View File

@ -3,5 +3,9 @@
INSTALLDIR=$PWD/mnt
rpm -i --root=$INSTALLDIR $SCRIPTSDIR/3rd_party_software/adobe-release-x86_64-*.noarch.rpm || exit 1
rpm --import --root=$INSTALLDIR mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR flash-plugin || exit 1
if [ "$TEMPLATE_FLAVOR" == "fullyloaded" ]; then
rpm --import --root=$INSTALLDIR mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR flash-plugin || exit 1
else
yum-config-manager --installroot=$INSTALLDIR --disable adobe-linux-x86_64 > /dev/null
fi

View File

@ -0,0 +1 @@
packages_fc20.list