Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/soas.ks
diff options
context:
space:
mode:
authorSebastian Dziallas <sebastian@when.com>2009-04-25 22:13:47 (GMT)
committer Sebastian Dziallas <sebastian@when.com>2009-04-25 22:13:47 (GMT)
commitfb7c07862231296f04005c5707aa765e3b1dfd59 (patch)
tree42b4fbb925ba9edcbee5029ce52328ba3dd740c6 /soas.ks
parent02290248abfeb7dfa69a3d39a380b9dc6caaa451 (diff)
heavy content reorganization and clean ups after beta release
Diffstat (limited to 'soas.ks')
-rw-r--r--soas.ks90
1 files changed, 86 insertions, 4 deletions
diff --git a/soas.ks b/soas.ks
index 0299566..68576d8 100644
--- a/soas.ks
+++ b/soas.ks
@@ -11,16 +11,17 @@ repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?rep
# use if mirrors are outdated
# repo --name=rawhide --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/ --excludepkgs=abiword,libabiword,generic-logos,generic-release,generic-release-notes,plymouth,plymouth-*,PolicyKit-kde
-# use static rawhide repo for now (equivalent to beta)
-# repo --name=rawhide --baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide-20090327/development/i386/os/ --excludepkgs=abiword,libabiword,generic-logos,generic-release,generic-release-notes,plymouth,plymouth-*,PolicyKit-kde
+# include soas repo
+repo --name=sugar --baseurl=http://download.sugarlabs.org/soas/repositories/2/
%packages
+
+# basic system packages
@hardware-support
kernel
-# display stuff
+# graphical base environment
@base-x
--gnome-packagekit
slim
# work around for keyboard layout
@@ -50,6 +51,16 @@ EOF
cat >> /etc/rc.d/init.d/livesys << EOF
+# add Sugar repository to yum
+cat >> /etc/yum.repos.d/sugar.repo << FOE
+[sugar]
+name=Sugar
+failovermethod=priority
+baseurl=http://download.sugarlabs.org/soas/repositories/2/
+enabled=1
+gpgcheck=0
+FOE
+
# disable the logout menu item in Sugar
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null
@@ -58,5 +69,76 @@ cat >> /etc/slim.conf << FOE
auto_login yes
default_user liveuser
FOE
+
+# setup activity directory
+mkdir -p /home/liveuser/Activities
+chown liveuser:liveuser /home/liveuser/Activities
+chown -R liveuser:liveuser /usr/share/sugar/honey
+for bundle in \`find /usr/share/sugar/honey -maxdepth 1\` ; do
+ln -s \$bundle /home/liveuser/Activities
+done
+
+# add more activities to the favorites
+cat > /usr/share/sugar/data/activities.defaults << FOE
+com.garycmartin.Moon
+org.laptop.AbiWordActivity
+org.laptop.Calculate
+org.laptop.Chat
+org.sugarlabs.InfoSlicer
+org.sugarlabs.IRC
+org.laptop.Memorize
+org.laptop.Pippy
+org.laptop.Terminal
+org.laptop.TurtleArtActivity
+org.laptop.WebActivity
+org.vpri.EtoysActivity
+vu.lux.olpc.Speak
+org.worldwideworkshop.olpc.JigsawPuzzle
+FOE
+
EOF
%end
+
+%post --nochroot
+
+ASLO="$ASLO 4042" # InfoSlicer
+ASLO="$ASLO 4034" # Moon
+ASLO="$ASLO 4046" # JigsawPuzzle
+ASLO="$ASLO 4047" # SliderPuzzle
+ASLO="$ASLO 4063" # Memorize
+ASLO="$ASLO 4038" # Speak
+ASLO="$ASLO 4037" # CartoonBuilder
+ASLO="$ASLO 4044" # FlipSticks
+ASLO="$ASLO 4064" # JokeMachine
+ASLO="$ASLO 4029" # IRC
+ASLO="$ASLO 4054" # FreeCell
+ASLO="$ASLO 4039" # ViewSlides
+ASLO="$ASLO 4073" # StoryBuilder
+ASLO="$ASLO 4074" # Poll
+ASLO="$ASLO 4058" # Develop
+ASLO="$ASLO 4078" # Labyrinth
+ASLO="$ASLO 4082" # Paint
+ASLO="$ASLO 4081" # Record
+ASLO="$ASLO 4059" # TamTamEdit
+ASLO="$ASLO 4060" # TamTamJam
+ASLO="$ASLO 4061" # TamTamMini
+ASLO="$ASLO 4062" # TamTamSynth Lab
+
+WD=$PWD
+BUNDLES_DIR=$INSTALL_ROOT/usr/share/sugar/honey
+
+mkdir -p $BUNDLES_DIR
+cd $BUNDLES_DIR
+
+for id in $ASLO ; do
+ curl -L http://activities.sugarlabs.org/en-US/sugar/downloads/latest/$id > $id.xo
+done
+
+for file in *.xo ; do
+ unzip $file
+ rm $file
+done
+
+cd $WD
+
+%end