1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-18 14:23:07 +00:00
fedora-kickstarts/fedora-livecd-sugar.ks

65 lines
1.2 KiB
Plaintext
Raw Normal View History

2008-10-15 22:40:16 +00:00
# Filename:
# fedora-livecd-sugar.ks
# Maintainers:
# Sebastian Dziallas <sdz AT fedoraproject DOT org>
# Marco Pesenti Gritti <marcopg AT sugarlabs DOT org>
2008-10-15 22:40:16 +00:00
%include fedora-live-base.ks
%packages
# sugar!
@sugar-desktop
2008-12-09 19:59:55 +00:00
# e-mail client
alpine
2008-10-15 22:40:16 +00:00
# display manager
slim
# exclude input methods
-scim*
-m17n*
2008-10-15 22:40:16 +00:00
# avoid weird case where we pull in more festival stuff than we need
festival
festvox-slt-arctic-hts
# dictionaries are big
-aspell-*
-hunspell-*
-man-pages-*
-words
%end
%post
cat > /etc/sysconfig/desktop <<EOF
DISPLAYMANAGER=/usr/bin/slim-dynwm
EOF
cat >> /etc/rc.d/init.d/livesys << EOF
chkconfig --level 5 setroubleshoot off 2>/dev/null
chkconfig --level 5 sendmail off 2>/dev/null
chkconfig --level 5 bluetooth off 2>/dev/null
chkconfig --level 5 cupsd off 2>/dev/null
# disable screensaver locking
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
# set up timed auto-login for after 60 seconds
cat >> /etc/slim.conf << FOE
auto_login yes
default_user liveuser
FOE
# setup xinitrc
echo "sugar-shell" > /home/liveuser/.xinitrc
chmod a+x /home/liveuser/.xinitrc
chown liveuser:liveuser /home/liveuser/.xinitrc
EOF
%end