Package: olpc-xo1-hw
Version: 0.1~bpo50+1
Severity: important

The file /etc/initramfs-tools/scripts/init-top/xo1 which executes in
initramfs context attempts to source the script hook-functions and thus
fails to execute the modprobe.  The result is that the system does not
boot.

Workaround is to comment out the call to hook-functions.  See attached
patch.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
diff -ur olpc-xo1-0.1.orig/initramfs-scripts/xo1 olpc-xo1-0.1/initramfs-scripts/xo1
--- olpc-xo1-0.1.orig/initramfs-scripts/xo1	2009-02-16 09:05:00.000000000 +1100
+++ olpc-xo1-0.1/initramfs-scripts/xo1	2009-08-06 13:44:02.000000000 +1000
@@ -1,29 +1,6 @@
 #!/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
-

Reply via email to