diff options
author | Martin Dengler <martin@martindengler.com> | 2009-06-29 23:03:00 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-06-30 11:35:46 (GMT) |
commit | 0a4e25d95fb1bdbca8917b8956d6521393e0cd5c (patch) | |
tree | e2ae9f6c069ea52a068f728c361125027103bc9b /soas-aslo-and-content.ks | |
parent | 9961d95be230c0a178635bb1b452beaf3b1d7394 (diff) |
separate .ks for aslo downloading and live(sys) creation
Diffstat (limited to 'soas-aslo-and-content.ks')
-rw-r--r-- | soas-aslo-and-content.ks | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/soas-aslo-and-content.ks b/soas-aslo-and-content.ks new file mode 100644 index 0000000..c27dfee --- /dev/null +++ b/soas-aslo-and-content.ks @@ -0,0 +1,57 @@ + +%post --nochroot + +# download additional honey activities +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 4078" # Labyrinth +ASLO="$ASLO 4082" # Paint +ASLO="$ASLO 4081" # Record +ASLO="$ASLO 4050" # Colors +ASLO="$ASLO 4089" # Library +ASLO="$ASLO 4041" # Pippy +ASLO="$ASLO 4193" # Physics + +WD=$PWD +BUNDLES_DIR=$INSTALL_ROOT/usr/share/sugar/bundles + +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 + +# get the script to install the activities +curl -O http://git.sugarlabs.org/projects/soas/repos/mainline/blobs/raw/2d1057e6d8e74aecfa82c0b8e51a2c8d772a7923/install-activity.py + +# pull sample content for the journal +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/south_america.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/africa.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/asia.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/central_america.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/europe.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/middle_east.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/north_america.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/oceania.pdf +curl -O http://dev.sugarlabs.org/raw-attachment/ticket/840/southeast_asia.pdf + +# get sample content setup script directly from git +curl -O http://git.sugarlabs.org/projects/soas/repos/mainline/blobs/raw/8ad00566985860f9891aea714c74e5430e9c395d/copy-to-datastore.py + +chown -R 500:500 $BUNDLES_DIR +cd $WD + +%end |