#!/usr/bin/perl use MDK::Common; my $mar = '../mdk-stage1/mar/mar'; -x $mar or die "ERROR: Sorry, need $mar binary\n"; my %sanity_check = ( hd => [ qw(sym53c8xx), if_(arch() !~ /ppc|x86_64/, 'advansys'), ], network => [ qw(3c59x eepro100 tulip via-rhine ne2k-pci 8139too), if_(arch() !~ /ppc/, 'e100'), if_(arch() !~ /ppc|ia64/, 'tlan'), ], ); my $main_version = chomp_(cat_("all.kernels/.main")); foreach (keys %sanity_check) { my $marfile = "all.modules/$main_version/${_}_modules.mar"; -e $marfile or die "ERROR: missing $marfile\n"; my @l = map { /(\S+)\.k?o/ } `$mar -l $marfile`; my @pbs = difference2($sanity_check{$_}, \@l); @pbs and die "ERROR: sanity check should prove that " . join(" ", @pbs) . " be part of $marfile\n"; } put type='hidden' name='id' value='0d4c275cd59708cc674744b3b932f40ea083e7a6'/> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/tools/serial_probe
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-31 15:29:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-31 15:29:33 +0000
commit0d4c275cd59708cc674744b3b932f40ea083e7a6 (patch)
tree0c1b960cee7a15c4218776a70dd29e4ce7ee6eb6 /tools/serial_probe
parent7e6048a6263048b27697f3c2c3de3e8fac0deff7 (diff)
downloaddrakx-0d4c275cd59708cc674744b3b932f40ea083e7a6.tar
drakx-0d4c275cd59708cc674744b3b932f40ea083e7a6.tar.gz
drakx-0d4c275cd59708cc674744b3b932f40ea083e7a6.tar.bz2
drakx-0d4c275cd59708cc674744b3b932f40ea083e7a6.tar.xz
drakx-0d4c275cd59708cc674744b3b932f40ea083e7a6.zip