File: xo1

package info (click to toggle)
olpc-xo1 0.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44 kB
  • sloc: sh: 30; makefile: 2
file content (30 lines) | stat: -rwxr-xr-x 607 bytes parent folder | download | duplicates (4)
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
#!/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.