1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-26 17:13:09 +00:00

SoaS: fix the live image

This commit is contained in:
Peter Robinson 2011-04-05 09:05:16 +01:00
parent 69579db943
commit c21ed23db4

View File

@ -15,7 +15,7 @@ part / --size=2048
%packages %packages
# == Core Sugar Platform == # == Core Sugar Platform ==
sugar @sugar-desktop
# == Platform Components == # == Platform Components ==
# from http://wiki.sugarlabs.org/go/0.88/Platform_Components # from http://wiki.sugarlabs.org/go/0.88/Platform_Components
@ -31,45 +31,11 @@ pygame
pulseaudio pulseaudio
pulseaudio-utils pulseaudio-utils
# == Sugar Activities ==
sugar-browse # Because they need this to install activities.
sugar-log # Because they need this for debugging.
sugar-physics # Because this is a great demo example (quick demo).
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.
sugar-chat
sugar-record
sugar-write
etoys-sugar
sugar-pippy
sugar-calculator
# Write breaks unless we do this (we don't need it anyway) # Write breaks unless we do this (we don't need it anyway)
-@input-methods -@input-methods
# == Activities from ASLO == # explicitly remove openbox (need to find how its getting in there).
# These are activities we're going to polish to the same level -openbox
# 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
# sugar-read
# == System ==
# Automatically logs in the liveuser
# We're going to replace this with nodm
# http://bugs.sugarlabs.org/ticket/1849
gdm
# Needed to show external hard drives # Needed to show external hard drives
gvfs gvfs
@ -112,8 +78,8 @@ rm -f /var/lib/rpm/__db*
# Get proper release naming in the control panel # Get proper release naming in the control panel
cat >> /boot/olpc_build << EOF cat >> /boot/olpc_build << EOF
Sugar on a Stick 4 (Mango Lassi) Sugar on a Stick 5
Fedora 14 (Laughlin) Fedora release 15 (Lovelock)
EOF EOF
cat >> /etc/rc.d/init.d/livesys << EOF cat >> /etc/rc.d/init.d/livesys << EOF
@ -127,6 +93,25 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
# Enable Sugar power management # Enable Sugar power management
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
[org.gnome.desktop.screensaver]
lock-enabled=false
FOE
# and hide the lock screen option
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
[org.gnome.desktop.lockdown]
disable-lock-screen=true
FOE
# 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
# Add our activities to the favorites # Add our activities to the favorites
cat > /usr/share/sugar/data/activities.defaults << FOE cat > /usr/share/sugar/data/activities.defaults << FOE
org.laptop.AbiWordActivity org.laptop.AbiWordActivity
@ -143,10 +128,13 @@ org.sugarlabs.IRC
org.vpri.EtoysActivity org.vpri.EtoysActivity
FOE FOE
# Set up auto-login for for liveuser # rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE cat >> /etc/gdm/custom.conf << FOE
[daemon] [daemon]
AutomaticLoginEnable=true AutomaticLoginEnable=True
AutomaticLogin=liveuser AutomaticLogin=liveuser
FOE FOE