w/ partitions
Signed-off-by: Andres Salomon <dilinger@debian.org>
initramfs-hooks/xo1 etc/initramfs-tools/hooks
+initramfs-scripts/xo1 etc/initramfs-tools/scripts/init-top
--- /dev/null
+#!/bin/sh
+
+#
+# List the soft prerequisites here. This is a space separated list of
+# names, of scripts that are in the same directory as this one, that
+# must be run before this one can be.
+#
+PREREQ=""
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+# redboot needs to be loaded before cafe_nand in order to ensure that
+# partitions are correctly identified. This is a kernel bug that's worked
+# around here.
+modprobe redboot
+