fedora: use template-builder's yum.conf when installing 3rd party pkgs
Otherwise VM-specific config entries would be used, which would not work inside chroot (namely - proxy settings).
This commit is contained in:
parent
009df31f74
commit
b689cb03b3
@ -7,5 +7,5 @@ if [ "$TEMPLATE_FLAVOR" == "fullyloaded" ]; then
|
|||||||
rpm --import --root=$INSTALLDIR mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
|
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
|
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR flash-plugin || exit 1
|
||||||
else
|
else
|
||||||
yum-config-manager --installroot=$INSTALLDIR --disable adobe-linux-x86_64 > /dev/null
|
yum-config-manager -c $PWD/yum.conf --installroot=$INSTALLDIR --disable adobe-linux-x86_64 > /dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user