/etc/initramfs-tools/scripts/init-top/xo1 is in olpc-xo1-hw 0.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/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
# 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
# XXX: this can be removed in wheezy; Linux-3.2 fixes the redboot bug that
# requires this hack.
|