summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.alpha
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-02 03:16:06 +0000
committerMatt Wilson <msw@redhat.com>2000-06-02 03:16:06 +0000
commitdad831920698dbca09f67868f16776227c253ffc (patch)
treee7aad8061f107ade5edaeb9155719991afd327a0 /scripts/mk-images.alpha
parente8225fe02ada8ff3cada3f28caa678da1f544a15 (diff)
downloadanaconda-dad831920698dbca09f67868f16776227c253ffc.tar.gz
anaconda-dad831920698dbca09f67868f16776227c253ffc.tar.xz
anaconda-dad831920698dbca09f67868f16776227c253ffc.zip
alpha boot disks (if the kernel would fit) are created
Diffstat (limited to 'scripts/mk-images.alpha')
-rw-r--r--scripts/mk-images.alpha20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/mk-images.alpha b/scripts/mk-images.alpha
new file mode 100644
index 000000000..47116a15a
--- /dev/null
+++ b/scripts/mk-images.alpha
@@ -0,0 +1,20 @@
+SECSTAGE="vfat raid0 raid1 raid5"
+
+prepareBootImage() {
+ gunzip < $BOOTDISKDIR/generic.img.gz |
+ dd of=$MBD_TMPIMAGE conv=notrunc > /dev/null 2> /dev/null
+ mount -o loop -t ext2 $MBD_TMPIMAGE $MBD_BOOTTREE
+
+ zcat $KERNELROOT/boot/vmlinuz-* | gzip -9 > $MBD_BOOTTREE/vmlinux.gz
+}
+
+makeinitrd --initrdto $TOPDESTPATH/images/ramdisk.img \
+ --initrdsize 2000 \
+ --padsize 1440 \
+ --loaderbinary loader \
+ --modules "3c59x de4x5 depca eepro100 ibmtr old_tulip tulip ne vfat"
+
+makebootdisk --bootdisksize 1440 --kernelto $TOPDESTPATH/kernels/vmlinux.gz \
+ --imagename generic.img
+
+makemainmodules "$SECSTAGE"