summaryrefslogtreecommitdiff
path: root/initramfs-tools/scripts/live-premount/modules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-05 14:20:59 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-05 14:20:59 +0200
commita2049b4f8507bf9c7950d553ec1172ec388304e0 (patch)
treec14c893abe3c555b959c9fe85e282dcc09b54fe3 /initramfs-tools/scripts/live-premount/modules
parent80e7f344bc729318a4788c7062a85dc66bf3a305 (diff)
downloadlive-boot-a2049b4f8507bf9c7950d553ec1172ec388304e0.tar.gz
live-boot-a2049b4f8507bf9c7950d553ec1172ec388304e0.zip
Starting initramfs-tools specific subdirectory within the source-tree.
Diffstat (limited to 'initramfs-tools/scripts/live-premount/modules')
-rwxr-xr-xinitramfs-tools/scripts/live-premount/modules32
1 files changed, 32 insertions, 0 deletions
diff --git a/initramfs-tools/scripts/live-premount/modules b/initramfs-tools/scripts/live-premount/modules
new file mode 100755
index 0000000..1af7a9e
--- /dev/null
+++ b/initramfs-tools/scripts/live-premount/modules
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ="udev"
+
+prereqs()
+{
+ echo "${PREREQ}"
+}
+
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+# live-boot script
+
+# The following modprobe entry is a workaround to live-boot 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 -q ide-generic
+modprobe -q esp