diff options
| author | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
| commit | e01de9095a37e9a6e1face1849fa54e128cb8b31 (patch) | |
| tree | 4c1ea2670bf5cef6d3acee0e3b34dee89fc592e5 /kernel/check_mar.pl | |
| parent | 127a73d935d78af53d3dadd05d4636f6b717976d (diff) | |
| download | drakx-1_1_8_10mdk.tar drakx-1_1_8_10mdk.tar.gz drakx-1_1_8_10mdk.tar.bz2 drakx-1_1_8_10mdk.tar.xz drakx-1_1_8_10mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_10mdk'.V1_1_8_10mdk
Diffstat (limited to 'kernel/check_mar.pl')
| -rwxr-xr-x | kernel/check_mar.pl | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/kernel/check_mar.pl b/kernel/check_mar.pl deleted file mode 100755 index 556a0e442..000000000 --- a/kernel/check_mar.pl +++ /dev/null @@ -1,30 +0,0 @@ -#!/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(aic7xxx sym53c8xx initio), - if_(arch() !~ /ppc/, '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 $mar or die "ERROR: missing $marfile\n"; - - my @l = map { /(\S+)\.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"; -} |
