On 03/26/2010 10:01 AM, Joey Boggs wrote:
--- modules.d/90dmsquash-live/dmsquash-live-root | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root index b1754dc..c98cdef 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root +++ b/modules.d/90dmsquash-live/dmsquash-live-root @@ -172,7 +172,12 @@ if [ -b "$OSMIN_LOOPDEV" ]; then echo "0 $( blockdev --getsz $BASE_LOOPDEV ) snapshot $BASE_LOOPDEV $OSMIN_LOOPDEV p 8" | dmsetup create --readonly live-osimg-min fi +ROOTFLAGS="$(getarg rootflags)" +if [ -n "$ROOTFLAGS" ]; then + ROOTFLAGS="-o $ROOTFLAGS" +fi + ln -s /dev/mapper/live-rw /dev/root -printf '/bin/mount /dev/mapper/live-rw %s\n' "$NEWROOT"> /mount/01-$$-live.sh +printf '/bin/mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT"> /mount/01-$$-live.sh exit 0
any comments on this one? -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html