Sugar on a Stick/Sugar Clone: Difference between revisions

mNo edit summary
No edit summary
Line 6: Line 6:


{{Message|'''Latest news''':
{{Message|'''Latest news''':
'''10 February 2011''': A new bundle, named '''[[#SoaS-remix|SoaS-remix]]''', has been prepared, which includes edit-liveos.py with a launcher named 'liveos-disk-to-iso', and temporary versions of fs.py, live.py, creator.py (pending livecd-tools acceptance).     
'''10 February 2011''': A new bundle, named '''[[#SoaS-remix|SoaS-remix]]''', is an iso builder, which includes edit-liveos.py with a launcher named 'liveos-disk-to-iso', and temporary versions of fs.py, live.py, creator.py (pending livecd-tools acceptance).     
  The SoaS-remix bundle will inject itself into the image, unbundle itself into /tmp,
  The SoaS-remix bundle will inject itself into the image, unbundle itself into /tmp,
  launch edit-liveos.py (with editable options), then cleanup /tmp.
  launch edit-liveos.py (with editable options), build a new iso, then cleanup /tmp.
Sugar Clone is now in a Sugar on a Stick repository clone at http://git.sugarlabs.org/~FGrose/soas/sugar-clone-extensions.
Sugar Clone is now in a Sugar on a Stick repository clone at http://git.sugarlabs.org/~FGrose/soas/sugar-clone-extensions.


Line 171: Line 171:
:{{Code|wget http://people.sugarlabs.org/fgrose/SoaS-remix}}
:{{Code|wget http://people.sugarlabs.org/fgrose/SoaS-remix}}


====Usage====
====Recipe====
This is my recipe:
# Having used the ''livecd-iso-to-disk'' with --home-size-mb NNN to install my SoaS iso onto a Live USB device, I proceed to customize my working Stick with new Activites, content, or system settings as described [[#Introduction|above]] in step 2.
# Having used the ''livecd-iso-to-disk'' with --home-size-mb NNN to install my SoaS iso onto a Live USB device, I proceed to customize my working Stick with new Activites, content, or system settings as described [[#Introduction|above]] in step 2.
# Before copying ''SoaS-remix'' to the Live USB, it may be easiest to open it in an editor and adjust the {{Code|set}} command statement at line 80 to something appropriate for your system.<br>
# Before copying ''SoaS-remix'' to the Live USB, it may be easiest to open it in an editor and adjust the {{Code|set}} command statement at line 86 to something appropriate for your system.<br>
#:{{Code|# Example command line. Edit and uncomment the set statement below to suit.}}
#:{{Code|# Example command line. Edit and uncomment the set statement below to suit.}}
#:{{Code|#set -- -v -n SoaSremix -o /media/WD-ext4 -t /media/WD-ext4 -i /GPL \}}
#:{{Code|# set -- -v -n SoaSremix -o /media/WD-ext4 -t /media/WD-ext4 -i /GPL \}}
#:{{Code|# &nbsp; &nbsp; &nbsp; -r /boot/olpc_build --builder fgrose --clone /dev/live}}
#:{{Code|# &nbsp;&nbsp; &nbsp; &nbsp; -r /boot/olpc_build --builder fgrose --clone /dev/live}}
# I then copy ''SoaS-remix'' onto the USB device bearing a SoaS installation (to the /LiveOS/ folder on the device's filesystem).
# I then copy ''SoaS-remix'' onto the USB device bearing a SoaS installation (to the /LiveOS/ folder on the device's filesystem).
# Before running the ''SoaS-remix'' script bundle, I run these 2 system updates:
# Before running the ''SoaS-remix'' script bundle, I run these 2 system updates: