summaryrefslogtreecommitdiffstats
path: root/kernel/check_mar.pl
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-09-12 15:16:49 +0000
committerMystery Man <unknown@mandriva.org>2003-09-12 15:16:49 +0000
commite0a90440b5f10011c62a4ef2ad7ae53ee75eac56 (patch)
tree8fb507c45d54fb01a7532400679b607cb61e8f33 /kernel/check_mar.pl
parent83fc804615d6576d1da05e6b5ac955345914a035 (diff)
downloaddrakx-9_2_11mdk.tar
drakx-9_2_11mdk.tar.gz
drakx-9_2_11mdk.tar.bz2
drakx-9_2_11mdk.tar.xz
drakx-9_2_11mdk.zip
This commit was manufactured by cvs2svn to create tag 'V9_2_11mdk'.V9_2_11mdk
Diffstat (limited to 'kernel/check_mar.pl')
-rwxr-xr-xkernel/check_mar.pl31
1 files changed, 0 insertions, 31 deletions
diff --git a/kernel/check_mar.pl b/kernel/check_mar.pl
deleted file mode 100755
index aedbfdfe7..000000000
--- a/kernel/check_mar.pl
+++ /dev/null
@@ -1,31 +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(sym53c8xx),
- if_(arch() !~ /x86_64/, 'initio'),
- 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+)\.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";
-}