diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-20 10:15:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-20 10:15:07 +0000 |
commit | cfec2125195a1f48b7131c5c15201c9e827acdc1 (patch) | |
tree | 13d954e610d1d82095f10ed0554558365b53e4ac | |
parent | d9d77adaae12631847ff1a95409a5a758aca3193 (diff) | |
download | drakx-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar drakx-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.gz drakx-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.bz2 drakx-cfec2125195a1f48b7131c5c15201c9e827acdc1.tar.xz drakx-cfec2125195a1f48b7131c5c15201c9e827acdc1.zip |
fix regexp matching module when generating .not-enough-room
-rwxr-xr-x | make_boot_img | 2 |
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`); |