/etc/initramfs-tools/hooks/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 30 31 32 33 | #!/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
# Ensure the mtd (and related) modules are included
for x in cafe_nand redboot jffs2 ubifs lzo zlib zlib_deflate deflate ; do
manual_add_modules "${x}"
done
# Video drivers are important, too, as we don't have VGA support
for x in lxfb gxfb fbcon ; do
manual_add_modules "${x}"
done
|