diff options
| author | Mystery Man <unknown@mandriva.org> | 2004-02-20 00:03:26 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2004-02-20 00:03:26 +0000 |
| commit | 959a1722faec6b30510c788c49dcb4b7cb96d1e0 (patch) | |
| tree | 8d25ea2b09098078292e7dcda489471a30b4e81a /kernel/check_mar.pl | |
| parent | 0413d7133026a6cddf226027ebdfee6fa68890f7 (diff) | |
| download | drakx-10_0_21mdk.tar drakx-10_0_21mdk.tar.gz drakx-10_0_21mdk.tar.bz2 drakx-10_0_21mdk.tar.xz drakx-10_0_21mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V10_0_21mdk'.V10_0_21mdk
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 7b9fefbbf..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 = ( - cdrom => [ - qw(aic7xxx), - if_(arch() !~ /ppc|x86_64/, 'advansys'), - ], - all => [ - 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"; -} |
