diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-04-24 15:46:31 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-04-24 15:46:31 +0000 |
commit | 0a562126d84c59a113231ae7ab38984f92d62153 (patch) | |
tree | 5e87b9094f4ebdc328979e3a0640dee5f1fc40cb /scripts/mk-images.sparc64 | |
parent | dd200d781bd9012f562399c2ee69c23fe60d86b9 (diff) | |
download | anaconda-0a562126d84c59a113231ae7ab38984f92d62153.tar.gz anaconda-0a562126d84c59a113231ae7ab38984f92d62153.tar.xz anaconda-0a562126d84c59a113231ae7ab38984f92d62153.zip |
another taroon merge. tagged before as before-taroon-merge, after as
after-taroon-merge
this one adds s390 fixes, basic i/p series platform support, support for
multiple kernels and one second stage, cmdline kickstart mode (nice for s390),
some warning cleanups.
Diffstat (limited to 'scripts/mk-images.sparc64')
-rw-r--r-- | scripts/mk-images.sparc64 | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/scripts/mk-images.sparc64 b/scripts/mk-images.sparc64 index af993e12e..cb2f57a0e 100644 --- a/scripts/mk-images.sparc64 +++ b/scripts/mk-images.sparc64 @@ -52,47 +52,51 @@ maketftp() { $TILO vmlinux64 $TFTPKERNEL $TFTPINITRD $TFTPIMAGE } +makeBootImages() { # set up the silo files -rm -rf $TOPDESTPATH/boot -rm -rf $TOPDESTPATH/etc -mkdir -p $TOPDESTPATH/boot -mkdir -p $TOPDESTPATH/etc + rm -rf $TOPDESTPATH/boot + rm -rf $TOPDESTPATH/etc + mkdir -p $TOPDESTPATH/boot + mkdir -p $TOPDESTPATH/etc -cp $BOOTDISKDIR/cd.b $TOPDESTPATH/boot -cp $BOOTDISKDIR/second.b $TOPDESTPATH/boot -cp $BOOTDISKDIR/*.msg $TOPDESTPATH/etc -cp $BOOTDISKDIR/silo.conf $TOPDESTPATH/etc + cp $BOOTDISKDIR/cd.b $TOPDESTPATH/boot + cp $BOOTDISKDIR/second.b $TOPDESTPATH/boot + cp $BOOTDISKDIR/*.msg $TOPDESTPATH/etc + cp $BOOTDISKDIR/silo.conf $TOPDESTPATH/etc # set up aout kernel images -rm -rf $TOPDESTPATH/kernels -mkdir -p $TOPDESTPATH/kernels -elftoaout -o $TOPDESTPATH/kernels/vmlinux64 $KERNELROOT/boot/vmlinux-* -gzip -9 $TOPDESTPATH/kernels/vmlinux64 + rm -rf $TOPDESTPATH/kernels + mkdir -p $TOPDESTPATH/kernels + elftoaout -o $TOPDESTPATH/kernels/vmlinux64 $KERNELROOT/boot/vmlinux-* + gzip -9 $TOPDESTPATH/kernels/vmlinux64 -SCSIMODULES="qlogicpti sg st pluto fcal soc socal + SCSIMODULES="qlogicpti sg st pluto fcal soc socal fc4 aic7xxx sym53c8xx qlogicisp" -NETMODULES="sunhme sunqe sunbmac myri_sbus 3c59x de4x5" + NETMODULES="sunhme sunqe sunbmac myri_sbus 3c59x de4x5" -makeinitrd --initrdto $TOPDESTPATH/boot/initrd64.img \ - --initrdsize 2000 \ - --loaderbin loader \ - --modules "$SCSIMODULES $NETMODULES" \ - --moduleballname modules64.cgz + makeinitrd --initrdto $TOPDESTPATH/boot/initrd64.img \ + --initrdsize 2000 \ + --loaderbin loader \ + --modules "$SCSIMODULES $NETMODULES" \ + --moduleballname modules64.cgz -maketftp --kernel $KERNELROOT/boot/vmlinux-* \ - --imagename $TOPDESTPATH/images/tftp64.img \ - --initrdfrom $TOPDESTPATH/boot/initrd64.img + maketftp --kernel $KERNELROOT/boot/vmlinux-* \ + --imagename $TOPDESTPATH/images/tftp64.img \ + --initrdfrom $TOPDESTPATH/boot/initrd64.img -makebootdisk --kernelto $TOPDESTPATH/boot/vmlinux64.gz \ - --imagename boot64.img \ - --bootdisksize 1440 \ - --initrdflags '--initrdsize 2000 \ + makebootdisk --kernelto $TOPDESTPATH/boot/vmlinux64.gz \ + --imagename boot64.img \ + --bootdisksize 1440 \ + --initrdflags '--initrdsize 2000 \ --loaderbin loader-local \ --modules "$SCSIMODULES" \ --moduleballname modules64.cgz' +} -makemainmodules "$SECSTAGE $NETMODULES $SCSIMODULES" modules64.cgz +makeSecondStage() { + makemainmodules "$SECSTAGE $NETMODULES $SCSIMODULES" modules64.cgz -makeinstimage "netstg" "$SCSIMOUDLES $SECSTAGE" -makeinstimage "hdstg" "$NETMODULES $SECSTAGE" -makemainimage "stage2" "ext2" + makeinstimage "netstg" "$SCSIMOUDLES $SECSTAGE" + makeinstimage "hdstg" "$NETMODULES $SECSTAGE" + makemainimage "stage2" "ext2" +} |