summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.ppc
blob: aff51e322ab86157bb08310a48ff498e4f89a401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECSTAGE="nfs fat vfat raid0 raid1 raid5 ext3"
NETMODULES="pcnet32 tulip yellowfin acenic"
SCSIMODULES=""

prepareBootImage() {
    mkdir -p $TOPDESTPATH/ppc/chrp
}

makeinitrd --initrdto $TOPDESTPATH/ppc/chrp/ramdisk.image.gz \
           --initrdsize 8192 \
           --loaderbin loader \
           --modules "nfs fat vfat $NETMODULES $SCSIMODULES"

makeinstimage "netstg" "$SECSTAGE $SCSIMODULES $IDEMODULES"
makeinstimage "hdstg" "$SECSTAGE $NETMODULES $IDEMODULES"
makemainmodules "$SECSTAGE $NETMODULES $SCSIMODULES $IDEMODULES"
makemainimage "stage2" "cramfs"