diff options
Diffstat (limited to 'make_boot_img')
-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 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); |