fedora: initial configuration for "minimal" template (#828)

This commit is contained in:
Marek Marczykowski-Górecki 2014-05-13 04:49:13 +02:00
parent a77a635016
commit 6fcc7ad060
5 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1 @@
xterm.desktop

View File

@ -0,0 +1 @@
xterm.desktop

View File

@ -0,0 +1 @@
xterm.desktop

View File

@ -2,14 +2,20 @@
echo "--> Preparing environment..."
mount -t proc proc $PWD/mnt/proc
if [ "$TEMPLATE_FLAVOR" == "minimal" ]; then
YUM_OPTS="$YUM_OPTS --group_package_types=mandatory"
fi
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
if [ "$TEMPLATE_FLAVOR" != "minimal" ]; then
echo "--> Installing 3rd party apps"
$SCRIPTSDIR/add_3rd_party_software.sh || RETCODE=1
fi
umount $PWD/mnt/proc

View File

@ -0,0 +1,6 @@
xterm
--exclude=kdegames
--exclude=firstboot
--exclude=xorg-x11-drv-nouveau
--exclude=firewall-config,firewalld
--exclude=gnome-boxes