summaryrefslogtreecommitdiffstats
path: root/kernel/check_mar.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-18 16:00:51 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-18 16:00:51 +0000
commitf4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec (patch)
treed268120d9d2c10e7c987c15c3568aa56fffca7d0 /kernel/check_mar.pl
parentef7b88972b9c49fd04119efab49908b819560e6a (diff)
downloaddrakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar
drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.gz
drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.bz2
drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.xz
drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.zip
2.6 kernel support
Diffstat (limited to 'kernel/check_mar.pl')
-rwxr-xr-xkernel/check_mar.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/check_mar.pl b/kernel/check_mar.pl
index aedbfdfe7..80c0cc86c 100755
--- a/kernel/check_mar.pl
+++ b/kernel/check_mar.pl
@@ -8,7 +8,6 @@ my $mar = '../mdk-stage1/mar/mar';
my %sanity_check = (
hd => [
qw(sym53c8xx),
- if_(arch() !~ /x86_64/, 'initio'),
if_(arch() !~ /ppc|x86_64/, 'advansys'),
],
network => [
@@ -24,7 +23,7 @@ foreach (keys %sanity_check) {
my $marfile = "all.modules/$main_version/${_}_modules.mar";
-e $marfile or die "ERROR: missing $marfile\n";
- my @l = map { /(\S+)\.o/ } `$mar -l $marfile`;
+ 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";