diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-09 20:51:30 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-09 20:51:30 +0000 |
commit | e08ea108408e0ea3906acd26b8b1d1df44605243 (patch) | |
tree | 0ae734a9a57fd43cfce7e70139bf745741cf66f6 /scripts | |
parent | c7b2a1b9c261654f87ec41725163651a9bbff3c7 (diff) | |
download | anaconda-e08ea108408e0ea3906acd26b8b1d1df44605243.tar.gz anaconda-e08ea108408e0ea3906acd26b8b1d1df44605243.tar.xz anaconda-e08ea108408e0ea3906acd26b8b1d1df44605243.zip |
need to get etc/pcmcia stuff on there
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 10 | ||||
-rw-r--r-- | scripts/mk-images.i386 | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 18aeed7ff..613a25e7b 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -231,6 +231,7 @@ makemainmodules() { makebootdisk() { EXTRAKERNELPATH="" EXTRAINITRDPATH="" + PCMCIA="" while [ $(echo $1 | cut -c1-2) = "--" ]; do if [ $1 = "--kernelto" ]; then EXTRAKERNELPATH=$2 @@ -238,6 +239,9 @@ makebootdisk() { elif [ $1 = "--initrdto" ]; then EXTRAINITRDPATH=$2 shift; shift + elif [ $1 = "--pcmcia" ]; then + PCMCIA=yes + shift fi done MBD_FILENAME=$IMAGEPATH/$1 @@ -364,6 +368,11 @@ EOF exit 1 fi + if [ -n "$PCMCIA" ]; then + mkdir -p $MBD_BOOTTREE/etc + cp -a $KERNELROOT/etc/pcmcia $MBD_BOOTTREE/etc + fi + if [ -n "$EXTRAKERNELPATH" ]; then mkdir -p $EXTRAKERNELPATH cp -a $KERNELROOT/boot/vmlinuz-* $EXTRAKERNELPATH/vmlinuz @@ -374,7 +383,6 @@ EOF cp -a $MBD_FSIMAGE $EXTRAINITRDPATH/initrd.img fi - rmdir $MBD_BOOTTREE rm -f $MBD_FILENAME mv -f $MBD_TMPIMAGE $MBD_FILENAME rm -rf $MBD_TMPIMAGE $MBD_FSIMAGE $MBD_MNTPOINT $MBD_BOOTTREE diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386 index d4f3dee4b..b245e7af3 100644 --- a/scripts/mk-images.i386 +++ b/scripts/mk-images.i386 @@ -12,7 +12,7 @@ makebootdisk --kernelto $TOPDESTPATH/images/pxeboot \ de600 de620 depca dgrs eepro100 eepro hp-plus hp hp100 ibmtr ni52 old_tulip tulip ne nfs vfat" -makebootdisk pcmcia.img loader-pcmcia "$PCMCIAMODULES" +makebootdisk --pcmcia pcmcia.img loader-pcmcia "$PCMCIAMODULES" makedriverdisk "Supplemental Drivers" "drivers" "+scsi +net" |