summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authortwaugh <twaugh>2000-07-08 09:48:48 +0000
committertwaugh <twaugh>2000-07-08 09:48:48 +0000
commiteac59c96f4c3c647f64ee898ed8e2bdf4b0a2923 (patch)
treeb495a3382ab468841bff83ae0cf1b04c6bbc4d67 /scripts
parent94a2c01a7ae0df59c529b042d103404a6dab22a7 (diff)
downloadanaconda-eac59c96f4c3c647f64ee898ed8e2bdf4b0a2923.tar.gz
anaconda-eac59c96f4c3c647f64ee898ed8e2bdf4b0a2923.tar.xz
anaconda-eac59c96f4c3c647f64ee898ed8e2bdf4b0a2923.zip
Fix up paride driver disk
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images24
1 files changed, 22 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index c7af4db4d..a49f48f94 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -127,11 +127,31 @@ rundepmod () {
$what > $final.foo 2>&1 |
egrep -v "modprobe: (${exclpattern}) multiply defined"
+ # For paride we need to change this:
+ # aten: paride
+ # ...
+ # paride: parport
+ # imm: parport
+ # ppa: parport
+ # parport_pc: parport
+ # pcd: paride
+ #
+ # into this:
+ # aten: paride
+ # ...
+ # paride: parport_pc
+ # imm: parport_pc
+ # ppa: parport_pc
+ # parport_pc: parport
+ # pcd: aten ...
+ #
+ # So we use an ugly hack. :-(
+
PARIDE="aten bpck comm dstr epat epia fit2 fit3 friq frpw kbic ktti on20 on26"
- cat $final.foo | sed -e 's/\.o//g' \
+ cat $final.foo | $FILTERMODDEPS | sed -e 's/\.o//g' \
-e 's/: parport$/: parport_pc/g' \
-e 's/^\(parport_pc: parport\)_pc$/\1/' \
- -e "s/^pcd:.*/pcd: $PARIDE/" | $FILTERMODDEPS > $final
+ -e "s/^pcd:.*/pcd: $PARIDE/" > $final
rm -f $final.foo
}