b689cb03b3
Otherwise VM-specific config entries would be used, which would not work inside chroot (namely - proxy settings).
12 lines
472 B
Bash
Executable File
12 lines
472 B
Bash
Executable File
#!/bin/sh
|
|
|
|
INSTALLDIR=$PWD/mnt
|
|
|
|
rpm -i --root=$INSTALLDIR $SCRIPTSDIR/3rd_party_software/adobe-release-x86_64-*.noarch.rpm || 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 -c $PWD/yum.conf --installroot=$INSTALLDIR --disable adobe-linux-x86_64 > /dev/null
|
|
fi
|