You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
echo "--> Preparing environment..."
|
|
|
|
mount -t proc proc $PWD/mnt/proc
|
|
|
|
|
|
|
|
echo "--> Installing RPMs..."
|
|
|
|
export YUM0=$PWD/yum_repo_qubes
|
|
|
|
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$(pwd)/mnt @qubes-vm || RETCODE=1
|
|
|
|
|
|
|
|
rpm --root=$PWD/mnt --import $PWD/mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-*
|
|
|
|
|
|
|
|
echo "--> Installing 3rd party apps"
|
|
|
|
$SCRIPTSDIR/add_3rd_party_software.sh || RETCODE=1
|
|
|
|
|
|
|
|
umount $PWD/mnt/proc
|
|
|
|
|
|
|
|
exit $RETCODE
|