On Mon, 24 Aug 2009 01:02:15 +0200 Thomas Bächler <thomas@archlinux.org> wrote:
--- archiso/hooks/archiso | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index ab55be6..5cbfb44 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -84,7 +84,13 @@ run_hook () /bin/modprobe -q aufs >/dev/null 2>&1
msg ":: Mounting root (aufs) filesystem" - /bin/mount -t aufs -o dirs=/tmpfs=rw none /real_root + if [ "${livesystem}" = "rw" ]; then + /bin/mount -o remount,rw /bootmnt + mkdir -p /bootmnt/livesystem + /bin/mount -t aufs -o dirs=/bootmnt/livesystem=rw none /real_root + else + /bin/mount -t aufs -o dirs=/tmpfs=rw none /real_root + fi
export LOOP_NUM="0" msg ":: Mounting images"
If this is the patch that enables you to make all your changes persistent on the usb stick, then I love this. Maybe we could go further: do we even need unionning here at all? Dieter