summaryrefslogtreecommitdiff
path: root/scripts/live-premount/modules
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 04:32:02 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:00 +0100
commit6e45195d58ae9290d0e69071abf9c4b4d2036c7c (patch)
tree81a71d59438d01362df71445a4c4f2f314013dbc /scripts/live-premount/modules
parentc9e1f3e45460445b6247574ebfa8a3e32cba3cb4 (diff)
downloadlive-boot-6e45195d58ae9290d0e69071abf9c4b4d2036c7c.tar.gz
live-boot-6e45195d58ae9290d0e69071abf9c4b4d2036c7c.zip
Move local-top/live to live-premount/modules so it gets called before find_livefs.
Diffstat (limited to 'scripts/live-premount/modules')
-rwxr-xr-xscripts/live-premount/modules31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/live-premount/modules b/scripts/live-premount/modules
new file mode 100755
index 0000000..8d18786
--- /dev/null
+++ b/scripts/live-premount/modules
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ="udev"
+
+prereqs()
+{
+ echo "${PREREQ}"
+}
+
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+# live-initramfs script
+
+# The following modprobe entry is a workaround to live-initramfs not
+# finding the root filesytem.
+#
+# See also:
+# * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-May/001459.html
+# * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-June/001517.html
+# * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363047
+
+modprobe ide-generic