Code: Select all
# 2010 May 15 DMcC (remasterpup3):
# changed one or two "OK" dialog boxes to "Yes/No" boxes;
# clarified and/or expanded language in several dialog boxes;
# added comments, whitespace, slight reorganization for readability of code;
# removed a bit of needless duplicated code (approx. lines 427-443 of original);
# added some user files to be automatically copied to /tmp/root and /tmp/etc;
# added progress display in rxvt during creation of /tmp/root.
In the box shown in "repup01.gif" (and a few places later on), I added explicit references to saving the ISO as a file rather than burning it to CD/DVD, if desired; added the clarifying expression "except for mounted external directories under /mnt" after "contains the entire Puppy filesystem, everything from '/' down"; made some other language more concise and (I hope) more comprehensible; and substituted "Do you want to continue?" [YES/NO] for "Click OK button to continue (or close window to quit)".
In "repup02.gif," the warning about using a lot of memory is based on my experience with Remaster Express (RemaX), which I wrote for Puppy 4.2. (After Puppy 4.2.1, Remaster Express went out when Tcl and Gnocl, which it required, were re-dumped.) A few users complained that Remaster Express crashed because it was using too much memory. I found that this would also be true for the original remaster script, since the memory-hogging culprit was "mksquashfs," which both scripts invoked. I also substituted the actual (calculated) size of the ISO file for "an extra 100 - 200 MB space (whatever the size of the ISO file is going to be)."
In "repup03.gif," I substituted myself for Barry as the person to notify if users want to suggest more stuff to be automatically copied. (Somebody let me know if it turns out that Barry still really wants to be the one to be notified, but my best guess is he doesn't!) I also added "your favorite file manager" as what to use to examine /tmp/root and copy files to it.
In "repup04.gif," I added some more examples of additional content that users might want to put into the puppycdbuild directory before burning the CD or creating the ISO.
In "repup05.gif," I changed the former language, which seemed a bit strange and confusing to me, to some language that didn't. Same goes for "repup06.gif," where I also added what I thought was a nice ending touch: "Have fun with Puppy, the personal computer user's best friend!"
If you want to test the script and verify that, yes, it does still work the same as before, just untar it, put "remasterpup3" in /usr/sbin along with remasterpup2, run /usr/sbin/remasterpup3 from the command line, and (if you're satisfied) change your Setup --> Remaster Puppy live-CD menu item to point to remasterpup3 instead of remasterpup2. Any comments or questions, please let me know.