live-initramfs (1.136.3-2~grml.03) unstable; urgency=low
* Improve boot failure splash.
+ * Readd scripts/live-bottom/05mountpoints, otherwise
+ we suffer from "run-init: nuking initramfs contents".
- -- Michael Prokop <mika@grml.org> Sat, 16 Aug 2008 12:31:22 +0200
+ -- Michael Prokop <mika@grml.org> Sat, 16 Aug 2008 15:19:05 +0200
live-initramfs (1.136.3-2~grml.02) unstable; urgency=low
--- /dev/null
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+ echo "${PREREQ}"
+}
+
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+# live-initramfs header
+
+. /scripts/live-functions
+
+log_begin_msg "Moving mount points..."
+
+# live-initramfs script
+
+# Move to the new root filesystem so that programs there can get at it.
+if [ ! -d /root/live/image ]
+then
+ mkdir -p /root/live/image
+ mount -n --move /live/image /root/live/image
+fi
+
+log_end_msg