2010-03-25 20:44:43 +00:00
|
|
|
# fedora-livecd-soas.ks
|
2010-01-20 19:23:12 +00:00
|
|
|
#
|
|
|
|
# Description:
|
|
|
|
# - A Sugar environment that you can carry in your pocket
|
|
|
|
#
|
|
|
|
# Maintainers:
|
|
|
|
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
|
|
|
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
2010-03-25 20:44:43 +00:00
|
|
|
# - Mel Chua <mchua AT fedoraproject DOT org>
|
2010-01-20 19:23:12 +00:00
|
|
|
|
2010-02-17 23:03:26 +00:00
|
|
|
%include fedora-live-mini.ks
|
2010-01-20 19:23:12 +00:00
|
|
|
|
2010-07-01 15:46:36 +00:00
|
|
|
part / --size=2048
|
|
|
|
|
2010-01-20 19:23:12 +00:00
|
|
|
%packages
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == Core Sugar Platform ==
|
2010-03-25 20:44:43 +00:00
|
|
|
sugar
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == Platform Components ==
|
2010-03-25 20:44:43 +00:00
|
|
|
# from http://wiki.sugarlabs.org/go/0.88/Platform_Components
|
|
|
|
alsa-plugins-pulseaudio
|
|
|
|
alsa-utils
|
|
|
|
etoys
|
2010-02-10 20:08:41 +00:00
|
|
|
csound-python
|
2010-01-20 19:23:12 +00:00
|
|
|
evince-djvu
|
2010-03-25 20:44:43 +00:00
|
|
|
gstreamer-plugins-good
|
|
|
|
gstreamer-plugins-espeak
|
|
|
|
gstreamer-plugins-bad-free
|
2010-07-01 15:46:36 +00:00
|
|
|
pygame
|
2010-03-25 20:44:43 +00:00
|
|
|
pulseaudio
|
2010-04-26 22:36:15 +00:00
|
|
|
pulseaudio-utils
|
2010-01-20 19:23:12 +00:00
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == Sugar Activities ==
|
2010-03-25 20:44:43 +00:00
|
|
|
sugar-browse # Because they need this to install activities.
|
|
|
|
sugar-log # Because they need this for debugging.
|
2010-03-27 20:08:07 +00:00
|
|
|
sugar-physics # Because this is a great demo example (quick demo).
|
2010-03-25 20:44:43 +00:00
|
|
|
sugar-terminal # Because this makes debugging easier.
|
|
|
|
sugar-turtleart # Because this is a great demo example (extended demo).
|
|
|
|
sugar-xoirc # Because this helps us help them.
|
2010-04-26 19:00:20 +00:00
|
|
|
sugar-chat
|
|
|
|
sugar-record
|
2010-03-30 11:13:10 +00:00
|
|
|
sugar-write
|
2010-04-26 20:05:52 +00:00
|
|
|
etoys-sugar
|
2010-03-30 11:13:10 +00:00
|
|
|
|
2010-04-26 20:05:52 +00:00
|
|
|
# Write breaks unless we do this (we don't need it anyway)
|
2010-04-26 18:03:36 +00:00
|
|
|
-@input-methods
|
|
|
|
|
2010-03-25 20:44:43 +00:00
|
|
|
# == Activities from ASLO ==
|
|
|
|
# These are activities we're going to polish to the same level
|
|
|
|
# as the ones included in the SoaS image, but encourage people
|
|
|
|
# to download from ASLO as part of the SoaS experience of exploring
|
|
|
|
# other Activities in there.
|
|
|
|
|
|
|
|
# sugar-maze
|
|
|
|
# sugar-speak
|
|
|
|
# sugar-tamtam-*
|
|
|
|
# sugar-visualmatch
|
|
|
|
|
|
|
|
# These are Activities that aren't quite there, but are important,
|
|
|
|
# so we're going to encourage people to test them.
|
|
|
|
|
|
|
|
# sugar-pippy
|
2010-05-09 16:53:49 +00:00
|
|
|
# sugar-read
|
2010-03-25 20:44:43 +00:00
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == System ==
|
|
|
|
# Automatically logs in the liveuser
|
|
|
|
# We're going to replace this with nodm
|
2010-03-25 20:44:43 +00:00
|
|
|
# http://bugs.sugarlabs.org/ticket/1849
|
2010-01-20 19:23:12 +00:00
|
|
|
gdm
|
2010-03-25 20:44:43 +00:00
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Needed to show external hard drives
|
2010-02-26 18:11:46 +00:00
|
|
|
gvfs
|
2010-01-20 19:23:12 +00:00
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Needed for battery monitoring and power management
|
2010-03-25 20:44:43 +00:00
|
|
|
gnome-power-manager
|
|
|
|
|
2010-04-26 19:24:43 +00:00
|
|
|
# Usefulness for DSL connections as per:
|
|
|
|
# http://bugs.sugarlabs.org/ticket/1951
|
|
|
|
rp-pppoe
|
2010-05-09 16:53:49 +00:00
|
|
|
# Useful for SoaS duplication from:
|
|
|
|
# http://bugs.sugarlabs.org/ticket/74
|
2010-04-26 22:36:15 +00:00
|
|
|
livecd-tools
|
2010-04-26 19:24:43 +00:00
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Get the Sugar boot screen
|
2010-03-25 20:44:43 +00:00
|
|
|
-plymouth-system-theme
|
|
|
|
-plymouth-theme-charge
|
|
|
|
sugar-logos
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == Hardware ==
|
|
|
|
# Lets support Broadcom and XO wifi hardware
|
2010-01-20 19:23:12 +00:00
|
|
|
b43-openfwwf
|
|
|
|
libertas-usb8388-firmware
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# == Fonts ==
|
|
|
|
# More font support according to:
|
2010-03-25 20:44:43 +00:00
|
|
|
# http://bugs.sugarlabs.org/ticket/1119
|
2010-05-04 22:24:36 +00:00
|
|
|
# Moved to mini.ks
|
2010-01-20 19:23:12 +00:00
|
|
|
|
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
2010-04-26 18:03:36 +00:00
|
|
|
|
|
|
|
# Rebuild initrd for Sugar boot screen
|
|
|
|
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
|
|
|
/usr/sbin/plymouth-set-default-theme sugar
|
|
|
|
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
|
|
|
|
2010-04-26 19:07:24 +00:00
|
|
|
# Get proper release naming in the control panel
|
|
|
|
cat >> /boot/olpc_build << EOF
|
2010-08-05 14:14:01 +00:00
|
|
|
Sugar on a Stick 4 (Mango Lassi)
|
|
|
|
Fedora 14 (Laughlin)
|
2010-04-26 19:07:24 +00:00
|
|
|
EOF
|
|
|
|
|
2010-01-20 19:23:12 +00:00
|
|
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Don't use the default system user (in SoaS liveuser) as nick name
|
2010-01-20 19:23:12 +00:00
|
|
|
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /desktop/sugar/user/default_nick disabled >/dev/null
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Disable the logout menu item in Sugar
|
2010-01-20 19:23:12 +00:00
|
|
|
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Enable Sugar power management
|
2010-01-20 19:23:12 +00:00
|
|
|
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Add our activities to the favorites
|
2010-03-25 20:44:43 +00:00
|
|
|
cat > /usr/share/sugar/data/activities.defaults << FOE
|
2010-04-26 18:03:36 +00:00
|
|
|
org.laptop.AbiWordActivity
|
|
|
|
org.laptop.Chat
|
2010-03-25 20:44:43 +00:00
|
|
|
org.laptop.Log
|
|
|
|
org.laptop.physics
|
2010-04-26 19:00:20 +00:00
|
|
|
org.laptop.RecordActivity
|
2010-03-25 20:44:43 +00:00
|
|
|
org.laptop.Terminal
|
|
|
|
org.laptop.TurtleArtActivity
|
2010-04-26 18:03:36 +00:00
|
|
|
org.laptop.WebActivity
|
2010-03-25 20:44:43 +00:00
|
|
|
org.sugarlabs.IRC
|
2010-04-26 18:03:36 +00:00
|
|
|
org.vpri.EtoysActivity
|
2010-03-25 20:44:43 +00:00
|
|
|
FOE
|
|
|
|
|
2010-04-26 18:03:36 +00:00
|
|
|
# Set up auto-login for for liveuser
|
2010-01-20 19:23:12 +00:00
|
|
|
cat >> /etc/gdm/custom.conf << FOE
|
|
|
|
[daemon]
|
2010-02-06 21:34:27 +00:00
|
|
|
AutomaticLoginEnable=true
|
|
|
|
AutomaticLogin=liveuser
|
2010-01-20 19:23:12 +00:00
|
|
|
FOE
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%end
|