diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-01-18 15:17:12 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-01-18 15:17:12 +0000 |
commit | 5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628 (patch) | |
tree | f212faf88f54af0ac17683642ef7247d1c9a103b /lib | |
parent | 3a9d777bdfccbb089a0234683326eb9b375b4962 (diff) | |
download | draklive-5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628.tar draklive-5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628.tar.gz draklive-5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628.tar.bz2 draklive-5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628.tar.xz draklive-5a1c59267dd3b4ceb24a5a63f58aa5e254dd1628.zip |
boost initrd size for Flash
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index 3079a98..7471c37 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -250,7 +250,7 @@ sub compress_initrd_tree { my $size = chomp_(run_program::get_stdout("du -ks $initrd_tree | awk '{print \$1}'")); my $inodes = chomp_(run_program::get_stdout("find $initrd_tree | wc -l")) + 100; my $initrd_size = $size + 350 + int($inodes / 10); #- 10 inodes needs 1K - $initrd_size += 600; # splashy + $initrd_size += 1000; # splashy $initrd =~ s/.gz$//; |