summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.ia64
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-19 17:57:51 +0000
committerBill Nottingham <notting@redhat.com>2001-04-19 17:57:51 +0000
commitccdce8ffee3ae1e7ad87f049565493ba9a9c3741 (patch)
tree8925020a38f14ec94d04c3ef0687ad33942cee6e /scripts/mk-images.ia64
parent7fdd6ccbee6a8e0b2773d7c1e5ee7b56b8832fca (diff)
downloadanaconda-ccdce8ffee3ae1e7ad87f049565493ba9a9c3741.tar.gz
anaconda-ccdce8ffee3ae1e7ad87f049565493ba9a9c3741.tar.xz
anaconda-ccdce8ffee3ae1e7ad87f049565493ba9a9c3741.zip
merge in ia64 script changes here as well
Diffstat (limited to 'scripts/mk-images.ia64')
-rw-r--r--scripts/mk-images.ia6417
1 files changed, 14 insertions, 3 deletions
diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index 993d27996..236a283fc 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -3,20 +3,31 @@ USBMODS="usb-uhci hid keybdev"
LATEUSBMODS="mousedev"
SECSTAGE="nfs fat vfat raid0 raid1 raid5 $LATEUSBMODS"
-NETMODULES="3c59x acenic e100 e1000 eepro100 sk98lin starfire tulip yellowfin"
-SCSIMODULES="DAC960 cciss cpqarray aic7xxx megaraid qla1280 qla2x00 sym53c8xx"
+NETMODULES="3c59x acenic bcm5700 e100 e1000 eepro100 hamachi sk98lin starfire sunhme tulip yellowfin"
+SCSIMODULES="DAC960 cciss cpqarray aic7xxx aic7xxx_mod megaraid qla1280 qla2x00 sym53c8xx"
IDEMODULES="ide-mod ide-probe-mod ide-disk ide-cd"
prepareBootImage() {
- gunzip < $BOOTDISKDIR/bootfs.gz > $MBD_TMPIMAGE
+ dd if=/dev/zero bs=1k count=$BOOTDISKSIZE of=$MBD_TMPIMAGE 2>/dev/null
+ mkdosfs -C $MBD_TMPIMAGE $BOOTDISKSIZE >/dev/null
mount -o loop -t vfat $MBD_TMPIMAGE $MBD_BOOTTREE
cp $MBD_FSIMAGE $MBD_BOOTTREE/initrd.img
+ cp -a $IMGPATH/boot/efi/* $MBD_BOOTTREE/
cp $KERNELROOT/boot/efi/vmlinux-* $MBD_BOOTTREE/vmlinux
+ echo > $MBD_BOOTTREE/elilo.conf << EOF
+timeout=5
+
+image=vmlinux
+ label=linux
+ read-only
+ initrd=initrd.img
+EOF
}
makebootdisk --kernelto $TOPDESTPATH/kernels/vmlinux \
--imagename boot.img \
+ --bootdisksize 10240 \
--initrdflags '--initrdto $TOPDESTPATH/images/ramdisk.img \
--initrdsize 8192 \
--loaderbin loader \