<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.3">
</HEAD>
<BODY>
Thanks, I will use this one.<BR>
<BR>
MikeD<BR>
<BR>
On Fri, 2007-12-14 at 13:22 -0600, Douglas McClendon wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Mike Dickson wrote:</FONT>
<FONT COLOR="#000000">> Is there any chance of getting a current version of RHEL into the Live </FONT>
<FONT COLOR="#000000">> CD + Persistence game?</FONT>

<FONT COLOR="#000000">Were you ever able to test those patches I sent you a couple months back</FONT>
<FONT COLOR="#000000">(on fedora)?  (and for the most part, posted to this list)</FONT>

<FONT COLOR="#000000">For me, they do basically work in trivial testing scenarios.</FONT>

<FONT COLOR="#000000">The main problem I have mustering any enjoyment developing them is the</FONT>
<FONT COLOR="#000000">utter grossness of what it takes to patch the standard /etc/rc.d/init.d</FONT>
<FONT COLOR="#000000">halt and functions file.  (which is needed to defer unmounting of</FONT>
<FONT COLOR="#000000">persistence device until after readonly remounting of rootfs).</FONT>

<FONT COLOR="#000000">I do have an alternate distribution method of the feature, which makes</FONT>
<FONT COLOR="#000000">it more of a proof of concept "live iso patch" to the official f8</FONT>
<FONT COLOR="#000000">livecd, but it's still the same code and mechanism.</FONT>

<FONT COLOR="#000000">The same fragility may still apply to my method that I mentioned months</FONT>
<FONT COLOR="#000000">ago, i.e. that it may become unrecoverably corrupted if not shutdown</FONT>
<FONT COLOR="#000000">cleanly.  But I suspect that if I can make the distribution of it as</FONT>
<FONT COLOR="#000000">easy as a 'patch' to apply to the f8 livecd, and get some testers, that</FONT>
<FONT COLOR="#000000">that problem can be solved (pure speculation).</FONT>

<FONT COLOR="#000000">My time estimates are usually overly ambitious, but I'll try to get that</FONT>
<FONT COLOR="#000000">iso-patch posted in a couple hours.</FONT>

<FONT COLOR="#000000">And as I responded long ago to the original criticism of the ugliness of</FONT>
<FONT COLOR="#000000">the halt&functions patching- I totally agree, and am open to suggestions.</FONT>

<FONT COLOR="#000000">Attached is the last patch I sent Mike, which is pretty close to what I</FONT>
<FONT COLOR="#000000">last posted to this list.  It's still useful if anyone is interested in</FONT>
<FONT COLOR="#000000">trying to understand the method I'm using.  The main thing to simplify</FONT>
<FONT COLOR="#000000">reading it, is</FONT>

<FONT COLOR="#000000">a) ignore the 'overlay=auto' code path.  It's a nice feature, but</FONT>
<FONT COLOR="#000000">complexity that should wait for the future when the base case is well</FONT>
<FONT COLOR="#000000">understood, tested and stable.  The base case being</FONT>

<FONT COLOR="#000000">b) assume the only use of the patch is with the modified</FONT>
<FONT COLOR="#000000">livecd-iso-to-disk.  I.e. the new usage would be</FONT>

<FONT COLOR="#000000">livecd-iso-to-disk --overlay-size-mb 128 /path/to/f8.iso /dev/sdb1</FONT>

<FONT COLOR="#000000">which would initialize a 128M persistence file and cause the bootloader</FONT>
<FONT COLOR="#000000">on the liveusb to use it.  I.e. the syslinux append line goes from</FONT>

<FONT COLOR="#000000">root=UUID=abcd-1234</FONT>

<FONT COLOR="#000000">to</FONT>

<FONT COLOR="#000000">root=UUID=abcd-1234 overlay=UUID=abcd-1234</FONT>

<FONT COLOR="#000000">Then, try to ignore the horrendously ugly selinux magic act required to</FONT>
<FONT COLOR="#000000">patch halt&functions, and just look at the contents of the halt.patch</FONT>
<FONT COLOR="#000000">and functions.patch.</FONT>

<FONT COLOR="#000000">-dmc</FONT>

<FONT COLOR="#000000">--</FONT>
<FONT COLOR="#000000">Fedora-livecd-list mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</A></FONT>
<FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">https://www.redhat.com/mailman/listinfo/fedora-livecd-list</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>