From 27b2a46164444fdc2601a8c073cce9490162157c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 21 Mar 2005 11:46:49 +0000 Subject: fix the module size in .not-enough-room --- make_boot_img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_boot_img b/make_boot_img index 138d7c9d3..a74eb979f 100755 --- a/make_boot_img +++ b/make_boot_img @@ -288,7 +288,7 @@ sub boot_img_i386 { my $pcitable = cat_('/usr/share/ldetect-lst/pcitable'); my @l = sort { $a <=> $b } map { my ($name) = /(\S+)\.k?o$/ or die "bad file in .mar"; - my $gz_size = chomp_(`gzip -c $dir/$_ | wc -c`); + my $gz_size = chomp_(`tar xOf $dir/all_modules.tar $_ | gzip | wc -c`); sprintf "%7d %6d %s\n", $gz_size, listlength($pcitable =~ /"$name"/g), $name; } split(' ', `mdk-stage1/mar/mar -l $dir/${initrd_type}_modules.mar`); output('.not-enough-room', "gz size - pcitable - name\n", @l); -- cgit v1.2.1