summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-09 18:31:10 +0000
committerErik Troan <ewt@redhat.com>2000-05-09 18:31:10 +0000
commit903ced836c5af3d00fbba0903e525f5253738fe8 (patch)
tree2026e81c041e981e8025eaaa8a11155e45b4ed28 /scripts
parente12482882039c483fb42da23609a9f2e314fd40b (diff)
downloadanaconda-903ced836c5af3d00fbba0903e525f5253738fe8.tar.gz
anaconda-903ced836c5af3d00fbba0903e525f5253738fe8.tar.xz
anaconda-903ced836c5af3d00fbba0903e525f5253738fe8.zip
generate a pcmcia instlal image
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images7
-rw-r--r--scripts/mk-images.i3862
2 files changed, 8 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index dacc4c1c7..9132af765 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -371,7 +371,7 @@ EOF
if [ -n "$EXTRAINITRDPATH" ]; then
mkdir -p $EXTRAINITRDPATH
- cp -a $MBD_FSIMAGE $EXTRAINITRDPATH/initrd
+ cp -a $MBD_FSIMAGE $EXTRAINITRDPATH/initrd.img
fi
rmdir $MBD_BOOTTREE
@@ -475,6 +475,11 @@ makedriverdisk () {
usage
fi
+ if [ -d $KERNELROOT/lib/modules/$version/pcmcia ]; then
+ PCMCIAMODULES=$(cd $KERNELROOT/lib/modules/$version/pcmcia; ls *.o |
+ sed 's/\.o//g')
+ fi
+
rundepmod "$KERNELROOT/lib/modules/$version/*/*.o" $MODDEPS
rm -f $MODDEPS.foo
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 68c3ce663..d4f3dee4b 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -12,6 +12,8 @@ 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"
+
makedriverdisk "Supplemental Drivers" "drivers" "+scsi +net"
makedriverdisk "Parallel port IDE Drivers" "paride" "parport_pc parport pcd paride aten bpck comm dstr epat fit2 fit3 friq frpw kbic ktti on20 on26 epia ppa imm"