summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.ppc
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-22 04:03:50 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-22 04:03:50 +0000
commit3ce49abef97bdd9b9d8f506abcfa95a901882577 (patch)
tree7315e67570852600341f554a87598e0d2d029ff7 /scripts/mk-images.ppc
parentd52e2429669757ab51b5463782a4823ae19839f7 (diff)
downloadanaconda-3ce49abef97bdd9b9d8f506abcfa95a901882577.tar.gz
anaconda-3ce49abef97bdd9b9d8f506abcfa95a901882577.tar.xz
anaconda-3ce49abef97bdd9b9d8f506abcfa95a901882577.zip
basic ppc support for tree builds pulled forward from 7.1 ppc
Diffstat (limited to 'scripts/mk-images.ppc')
-rw-r--r--scripts/mk-images.ppc18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/mk-images.ppc b/scripts/mk-images.ppc
new file mode 100644
index 000000000..aff51e322
--- /dev/null
+++ b/scripts/mk-images.ppc
@@ -0,0 +1,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"
+