#!/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"; } 11'/> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-15 15:10:57 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-15 15:10:57 +0000
commit556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11 (patch)
treec2e9e3c3119217cc60a4501f5d568b70fd8fb60b
parentc321067034eec4671dd0a17a88e057668183b1a2 (diff)
downloaddrakx-556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11.tar
drakx-556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11.tar.gz
drakx-556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11.tar.bz2
drakx-556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11.tar.xz
drakx-556d9b18254e4a40f98fea9b4d5e4d23a4c4bb11.zip
(selectCountry) remove ending "." from subtitle
Diffstat