fedora: initial configuration for "minimal" template (#828)
This commit is contained in:
parent
a77a635016
commit
6fcc7ad060
1
appmenus_fc20_minimal/netvm-whitelisted-appmenus.list
Normal file
1
appmenus_fc20_minimal/netvm-whitelisted-appmenus.list
Normal file
@ -0,0 +1 @@
|
|||||||
|
xterm.desktop
|
1
appmenus_fc20_minimal/vm-whitelisted-appmenus.list
Normal file
1
appmenus_fc20_minimal/vm-whitelisted-appmenus.list
Normal file
@ -0,0 +1 @@
|
|||||||
|
xterm.desktop
|
1
appmenus_fc20_minimal/whitelisted-appmenus.list
Normal file
1
appmenus_fc20_minimal/whitelisted-appmenus.list
Normal file
@ -0,0 +1 @@
|
|||||||
|
xterm.desktop
|
@ -2,14 +2,20 @@
|
|||||||
echo "--> Preparing environment..."
|
echo "--> Preparing environment..."
|
||||||
mount -t proc proc $PWD/mnt/proc
|
mount -t proc proc $PWD/mnt/proc
|
||||||
|
|
||||||
|
if [ "$TEMPLATE_FLAVOR" == "minimal" ]; then
|
||||||
|
YUM_OPTS="$YUM_OPTS --group_package_types=mandatory"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "--> Installing RPMs..."
|
echo "--> Installing RPMs..."
|
||||||
export YUM0=$PWD/yum_repo_qubes
|
export YUM0=$PWD/yum_repo_qubes
|
||||||
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$(pwd)/mnt @qubes-vm || RETCODE=1
|
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-*
|
rpm --root=$PWD/mnt --import $PWD/mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-*
|
||||||
|
|
||||||
|
if [ "$TEMPLATE_FLAVOR" != "minimal" ]; then
|
||||||
echo "--> Installing 3rd party apps"
|
echo "--> Installing 3rd party apps"
|
||||||
$SCRIPTSDIR/add_3rd_party_software.sh || RETCODE=1
|
$SCRIPTSDIR/add_3rd_party_software.sh || RETCODE=1
|
||||||
|
fi
|
||||||
|
|
||||||
umount $PWD/mnt/proc
|
umount $PWD/mnt/proc
|
||||||
|
|
||||||
|
6
scripts_fedora/packages_fc20_minimal.list
Normal file
6
scripts_fedora/packages_fc20_minimal.list
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
xterm
|
||||||
|
--exclude=kdegames
|
||||||
|
--exclude=firstboot
|
||||||
|
--exclude=xorg-x11-drv-nouveau
|
||||||
|
--exclude=firewall-config,firewalld
|
||||||
|
--exclude=gnome-boxes
|
Loading…
Reference in New Issue
Block a user