Hi All,
Below are the initial kickstart files I have for the Workstation live
image. They started as copies of the existing Desktop files, and added
some of the packages we need like the QT and devassistant things. I've
composed a live image (1.2G) with them and it boots succesfully if you
disable SELinux (there's a bug filed for that).
How does this look as a start? The installed package list is also
below.
josh
---
fedora-live-workstation.ks | 65 +++++++++++++++++++++++++++++++++++++++
fedora-workstation-packages.ks | 70 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
create mode 100644 fedora-live-workstation.ks
create mode 100644 fedora-workstation-packages.ks
diff --git a/fedora-live-workstation.ks b/fedora-live-workstation.ks
new file mode 100644
index 0000000..8951d44
--- /dev/null
+++ b/fedora-live-workstation.ks
@@ -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
diff --git a/fedora-workstation-packages.ks b/fedora-workstation-packages.ks
new file mode 100644
index 0000000..4464d29
--- /dev/null
+++ b/fedora-workstation-packages.ks
@@ -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
--
1.9.0