From 6e45195d58ae9290d0e69071abf9c4b4d2036c7c Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 15 Jun 2008 04:32:02 +0100 Subject: Move local-top/live to live-premount/modules so it gets called before find_livefs. --- scripts/live-premount/modules | 31 +++++++++++++++++++++++++++++++ scripts/local-top/live | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100755 scripts/live-premount/modules delete mode 100755 scripts/local-top/live (limited to 'scripts') 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 diff --git a/scripts/local-top/live b/scripts/local-top/live deleted file mode 100755 index 8d18786..0000000 --- a/scripts/local-top/live +++ /dev/null @@ -1,31 +0,0 @@ -#!/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 -- cgit v1.2.3