From ad14cdb9fec0ce10b4f642717254f2612965b462 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 27 May 2015 13:39:08 -0500 Subject: [PATCH] cinnamon: add the cinnaomon spin, as approved by FESCo --- fedora-cinnamon-packages.ks | 33 ++++++++++++++++++++++ fedora-live-cinnamon.ks | 56 +++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 fedora-cinnamon-packages.ks create mode 100644 fedora-live-cinnamon.ks diff --git a/fedora-cinnamon-packages.ks b/fedora-cinnamon-packages.ks new file mode 100644 index 0000000..b2a9715 --- /dev/null +++ b/fedora-cinnamon-packages.ks @@ -0,0 +1,33 @@ +# fedora-cinnamon-packages.ks +# +# Description: +# - Fedora package set for the Cinnamon Desktop Environment +# +# Maintainer(s): +# - Dan Book + +%packages + +@networkmanager-submodules +@cinnamon-desktop +@libreoffice + +# internet and multimedia +pidgin +hexchat +transmission +totem + +# unlock default keyring. FIXME: Should probably be done in comps +gnome-keyring-pam + +# save some space +-fedora-icon-theme +-PackageKit* # we switched to yumex, so we don't need this + +# no bluetooth support +-bluez +-bluez-cups +-NetworkManager-bluetooth + + diff --git a/fedora-live-cinnamon.ks b/fedora-live-cinnamon.ks new file mode 100644 index 0000000..b992dad --- /dev/null +++ b/fedora-live-cinnamon.ks @@ -0,0 +1,56 @@ +# fedora-live-cinnamon.ks +# +# Description: +# - Fedora Live Spin with the Cinnamon Desktop Environment +# +# Maintainer(s): +# - Dan Book + +%include /usr/share/spin-kickstarts/fedora-live-base.ks +%include /usr/share/spin-kickstarts/fedora-live-minimization.ks +%include fedora-cinnamon-packages.ks + +# DVD payload +part / --size=6144 + +%post +# cinnamon configuration + +# create /etc/sysconfig/desktop (needed for installation) + +cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/livesys << EOF + +# set up lightdm autologin +sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf +sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf +#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf + +# set Cinnamon as default session, otherwise login will fail +sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf + +# Show harddisk install on the desktop +sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +mkdir /home/liveuser/Desktop +cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop + +# and mark it as executable +chmod +x /home/liveuser/Desktop/liveinst.desktop + +# this goes at the end after all other changes. +chown -R liveuser:liveuser /home/liveuser +restorecon -R /home/liveuser + +EOF + +%end + +