diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-21 11:46:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-21 11:46:49 +0000 |
commit | 27b2a46164444fdc2601a8c073cce9490162157c (patch) | |
tree | ae92202e51a37304f18cf16104511bbc2739884a | |
parent | 0ed5a8bcb0beb088b7b06056d0f12dc44d79fe91 (diff) | |
download | drakx-backup-do-not-use-27b2a46164444fdc2601a8c073cce9490162157c.tar drakx-backup-do-not-use-27b2a46164444fdc2601a8c073cce9490162157c.tar.gz drakx-backup-do-not-use-27b2a46164444fdc2601a8c073cce9490162157c.tar.bz2 drakx-backup-do-not-use-27b2a46164444fdc2601a8c073cce9490162157c.tar.xz drakx-backup-do-not-use-27b2a46164444fdc2601a8c073cce9490162157c.zip |
fix the module size in .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 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); |