summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-20 10:15:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-20 10:15:07 +0000
commitcfec2125195a1f48b7131c5c15201c9e827acdc1 (patch)
tree13d954e610d1d82095f10ed0554558365b53e4ac /make_boot_img
parentd9d77adaae12631847ff1a95409a5a758aca3193 (diff)
downloaddrakx-backup-do-not-use-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar
drakx-backup-do-not-use-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.gz
drakx-backup-do-not-use-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.bz2
drakx-backup-do-not-use-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.xz
drakx-backup-do-not-use-cfec2125195a1f48b7131c5c15201c9e827acdc1.zip
fix regexp matching module when generating .not-enough-room
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 2feb98d32..ba6d21c2f 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -205,7 +205,7 @@ sub boot_img_i386 {
my $dir = "kernel/all.modules/$ext";
my $pcitable = cat_('/usr/share/ldetect-lst/pcitable');
my @l = sort { $a <=> $b } map {
- my ($name) = /(\w+)\.k?o$/ or die "bad file in .mar";
+ my ($name) = /(\S+)\.k?o$/ or die "bad file in .mar";
my $gz_size = chomp_(`gzip -c $dir/$_ | wc -c`);
sprintf "%7d %6d %s\n", $gz_size, listlength($pcitable =~ /"$name"/g), $name;
} split(' ', `mdk-stage1/mar/mar -l $dir/${type}_modules.mar`);