Add initial Fedora Workstation live kickstarts
This commit is contained in:
parent
cfb0130681
commit
54415d973c
65
fedora-live-workstation.ks
Normal file
65
fedora-live-workstation.ks
Normal file
@ -0,0 +1,65 @@
|
||||
# Maintained by the Fedora Workstation WG:
|
||||
# http://fedoraproject.org/wiki/Workstation
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
part / --size 6144
|
||||
|
||||
%post
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# disable updates plugin
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
|
||||
[org.gnome.settings-daemon.plugins.updates]
|
||||
active=false
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# need to move it to anaconda.desktop to make shell happy
|
||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
|
||||
FOE
|
||||
|
||||
# Make the welcome screen show up
|
||||
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
||||
mkdir -p ~liveuser/.config/autostart
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||
fi
|
||||
fi
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up auto-login
|
||||
cat > /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
AutomaticLoginEnable=True
|
||||
AutomaticLogin=liveuser
|
||||
FOE
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
70
fedora-workstation-packages.ks
Normal file
70
fedora-workstation-packages.ks
Normal file
@ -0,0 +1,70 @@
|
||||
%packages
|
||||
@firefox
|
||||
@gnome-desktop
|
||||
@libreoffice
|
||||
|
||||
#QT
|
||||
qt
|
||||
qt-settings
|
||||
qt-x11
|
||||
qt5-qtbase
|
||||
qt5-qtbase-gui
|
||||
qt5-qtdeclarative
|
||||
qt5-qtxmlpatterns
|
||||
|
||||
devassistant
|
||||
|
||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||
# desktop image at some point. We won't touch this one for now.
|
||||
nss-mdns
|
||||
|
||||
# This one needs to be kicked out of @standard
|
||||
-smartmontools
|
||||
|
||||
# We use gnome-control-center's printer and input sources panels instead
|
||||
-system-config-printer
|
||||
-im-chooser
|
||||
|
||||
-aisleriot
|
||||
-baobab
|
||||
-biosdevname
|
||||
-coolkey
|
||||
-deja-dup
|
||||
-dtc
|
||||
-dump
|
||||
-ed
|
||||
-finger
|
||||
-ftp
|
||||
-gc
|
||||
-gfs2-utils
|
||||
-gnu-free-fonts-common
|
||||
-gnu-free-mono-fonts
|
||||
-gnu-free-sans-fonts
|
||||
-gnu-free-serif-fonts
|
||||
-gtk2-immodule-xim
|
||||
-gtk3-immodule-xim
|
||||
-gtkmm24
|
||||
-guile
|
||||
-imsettings
|
||||
-imsettings-gsettings
|
||||
-imsettings-libs
|
||||
-irda-utils
|
||||
-irqbalance
|
||||
-isdn4k-utils
|
||||
-kernel-modules-extra
|
||||
-lftp
|
||||
-linux-atm
|
||||
-minicom
|
||||
-nano
|
||||
-ntsysv
|
||||
-numactl
|
||||
-reiserfs-utils
|
||||
-rsh
|
||||
-tagsoup
|
||||
-talk
|
||||
-telnet
|
||||
-uboot-tools
|
||||
-xl2tpd
|
||||
-NetworkManager-l2tp
|
||||
|
||||
%end
|
Loading…
Reference in New Issue
Block a user