summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-10-12 10:43:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-10-12 10:43:16 +0000
commitb89e3cbae5395bb72b0be259b6c302dde941491b (patch)
tree53e3c758c313ff2d0e52ef9d6f25faab4f32306c /mdk-stage1
parentb30de3d8b4bc81426c6985ffa55c62c8fb4fe09c (diff)
downloaddrakx-backup-do-not-use-b89e3cbae5395bb72b0be259b6c302dde941491b.tar
drakx-backup-do-not-use-b89e3cbae5395bb72b0be259b6c302dde941491b.tar.gz
drakx-backup-do-not-use-b89e3cbae5395bb72b0be259b6c302dde941491b.tar.bz2
drakx-backup-do-not-use-b89e3cbae5395bb72b0be259b6c302dde941491b.tar.xz
drakx-backup-do-not-use-b89e3cbae5395bb72b0be259b6c302dde941491b.zip
have "other.img" drivers also supported
Diffstat (limited to 'mdk-stage1')
-rwxr-xr-xmdk-stage1/pci-resource/update-pci-ids.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl
index adf143e37..881752aa6 100755
--- a/mdk-stage1/pci-resource/update-pci-ids.pl
+++ b/mdk-stage1/pci-resource/update-pci-ids.pl
@@ -20,7 +20,7 @@ struct pci_module_map {
';
my %t = ( network => [ 'network' ],
- medias => [ 'hd', 'cdrom' ]
+ medias => [ 'hd', 'cdrom', 'other' ]
);
my %sanity_check =
arch() =~ /ia64/ ?
@@ -38,7 +38,7 @@ foreach $type (keys %t) {
foreach $marfile (glob("../../all.modules/*/${floppy}_modules.mar")) {
-f $marfile or die "\t*FAILED* Sorry, need $marfile mar file\n";
my @modz = `../mar/mar -l $marfile`;
- if ($marfile !~ /2\.2\.14/) {
+ if ($marfile !~ /(2\.2\.14)|(other)/) {
foreach $mandatory (@{$sanity_check{$type}}) {
grep(/\t$mandatory\.o/, @modz) or die "\t*FAILED* Sanity check should prove that $mandatory.o be part of $marfile\n"
}