summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-21 11:46:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-21 11:46:49 +0000
commit27b2a46164444fdc2601a8c073cce9490162157c (patch)
treeae92202e51a37304f18cf16104511bbc2739884a /make_boot_img
parent0ed5a8bcb0beb088b7b06056d0f12dc44d79fe91 (diff)
downloaddrakx-27b2a46164444fdc2601a8c073cce9490162157c.tar
drakx-27b2a46164444fdc2601a8c073cce9490162157c.tar.gz
drakx-27b2a46164444fdc2601a8c073cce9490162157c.tar.bz2
drakx-27b2a46164444fdc2601a8c073cce9490162157c.tar.xz
drakx-27b2a46164444fdc2601a8c073cce9490162157c.zip
fix the module size in .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 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);