<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">On Tue, Apr 6, 2010 at 1:38 PM, Frederick Grose </font><span dir="ltr"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;<a href="mailto:fgrose@gmail.com">fgrose@gmail.com</a>&gt;</font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> wrote:</font></div>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">On Mon, Mar 29, 2010 at 4:16 PM, Peter Robinson </font><span dir="ltr"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;</font><a href="mailto:pbrobinson@gmail.com" target="_blank"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">pbrobinson@gmail.com</font></a><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&gt;</font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> wrote:<br>

</font><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">

</font><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



<font class="Apple-style-span" face="&#39;courier new&#39;, monospace">{...}</font><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> </font></blockquote></div></blockquote><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><b><i><br>

</i></b></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><b><i><br></i></b></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><b><span class="Apple-style-span" style="font-weight: normal;">This post reopens the discussion of end user customization of LiveOS spins, like </span></b></font><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace; "><b><span class="Apple-style-span" style="font-weight: normal;">Sugar on a Stick.</span></b></span></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><b><span class="Apple-style-span" style="font-weight: normal;"><br></span></b></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Ticket:</font><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> </font><a href="https://bugzilla.redhat.com/show_bug.cgi?id=448030" target="_blank"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">https://bugzilla.redhat.com/show_bug.cgi?id=448030</font></a></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> </font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">(There is earlier discussion at </font><a href="http://lists.sugarlabs.org/archive/soas/2010-April/000998.html" target="_blank"><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">http://lists.sugarlabs.org/archive/soas/2010-April/000998.html</font></font></a><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">.)</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I&#39;ve attached several patches to the bugzilla ticket, which breakdown the changes for somewhat easier review:</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">1. One each, for the new --copy-overlay and --copy-home options and</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   update to livecd-iso-to-disk.pod for help on usage.</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">2. Another pair for the --builder-message &lt;message&gt; and </font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   --releasefile &lt;filepath&gt; options with .pod changes for help.</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">3. And finally a pair that addresses the new to have usage help within</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   the livecd-iso-to-disk shell script.</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>

</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">The --copy-overlay and --copy-home additions extend the utility of the script to allow the user/learner to replicate their personally modified image.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">The --builder-message and --releasefile options label the remixed image to prevent confusion with the pristine versions, and to credit the builder for their changes.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Because the livecd-iso-to-disk script is so often redistributed in standalone fashion, it is worth the space and effort to include usage documentation and help in the script itself.  This should help the general understanding of the script and its methods, given its presently-limited documentation.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">In the 1st and 3rd patches, there are many white-space changes that I couldn&#39;t avoid in order to clarify the local variable name changes made to match the broader scope of the script (for example, $ISO to $SRC and $USBDEV to $TGTDEV). In addition, there are some block order changes that make use and documentation easier to follow.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I also standardized the Bash conditional expression and list pipeline style to the more modern, [[ Expression ]] &amp;&amp; [[ Expression ]] format. (See </font><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><a href="http://wiki.bash-hackers.org/syntax/ccmd/conditional_expression">http://wiki.bash-hackers.org/syntax/ccmd/conditional_expression</a>.)</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">This means that variables within the special double brackets need not be quoted and the old test-type operators -a -o should not be used.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I&#39;m sorry that all the changes may make review more critical, but it was practically necessary.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  Thank you for taking the time to review these proposed changes.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">This is not the complete solution for end-user/learner customization of Sugar on a Stick.  Some of the missing pieces might be listed:</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">1. Graphical interface support</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   (See </font><a href="http://wiki.sugarlabs.org/go/Activities/Toaster"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">http://wiki.sugarlabs.org/go/Activities/Toaster</font></a><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> for a project</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   that may provide this.)</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">2. An option to install a traditional filesystem on devices with</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   sufficient storage capacity.</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">3. Overlay space consumption monitoring. (Sugar Cellar, in </font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   </font><a href="http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone</font></a>,<font class="Apple-style-span" face="&#39;courier new&#39;, monospace"> provides</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   a basic, </font><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace; ">command-line report.)</span></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">3. An option to write LiveOS .iso files for quick and inexpensive</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">   mass distribution.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">4. Support for Macintosh compatible booting and replication.</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>

</font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">The &#39;More robust iso&#39;, </font><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><a href="http://wiki.sugarlabs.org/go/More_robust_iso">http://wiki.sugarlabs.org/go/More_robust_iso</a>, feature proposal can be aided by some of the installation options available in livecd-iso-to-disk.  In particular, using the --home-size-mb &lt;size&gt; option creates a non-compressed (but loop mounted) filesystem for the home directory.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">SoaS deployments in schools may want to configure images without any operating system overlay (providing consistency and stability) and use the extra, persistent storage space for recoverable home directory storage that can be easily backed up, shared, or swapped (by remounting the /home folder).  This would allow convenient and rapid sharing of limited workstations in a classroom, library, or clubhouse all without the need to reboot the workstation.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">We can work to add a Sugar Frame or Journal feature to restart X with a new, Sugar-usable Journal within attached filesystems.  I expect there will be some confusion as plug-in or wireless Journals allow Learners to appropriate more computing devices in a way previously not possible.</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      --Fred</font></div>

<div class="gmail_quote"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div></div>