aboutsummaryrefslogtreecommitdiff
path: root/tools/XBMCLive/live-initramfs/scripts/live-premount/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tools/XBMCLive/live-initramfs/scripts/live-premount/modules')
-rwxr-xr-xtools/XBMCLive/live-initramfs/scripts/live-premount/modules32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/XBMCLive/live-initramfs/scripts/live-premount/modules b/tools/XBMCLive/live-initramfs/scripts/live-premount/modules
new file mode 100755
index 0000000000..408e873848
--- /dev/null
+++ b/tools/XBMCLive/live-initramfs/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-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 -q ide-generic
+modprobe -q esp