diff options
author | Thomas Backlund <tmb@mageia.org> | 2011-12-20 21:00:04 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2011-12-20 21:00:04 +0000 |
commit | 86bf0e31e55624655e5603c94f776c34299eefb6 (patch) | |
tree | 332eede18b346711fc45947a96074df94646f6f5 /lib | |
parent | df85a41617b5cbb5035fd634f1166dccb8967d55 (diff) | |
download | draklive-86bf0e31e55624655e5603c94f776c34299eefb6.tar draklive-86bf0e31e55624655e5603c94f776c34299eefb6.tar.gz draklive-86bf0e31e55624655e5603c94f776c34299eefb6.tar.bz2 draklive-86bf0e31e55624655e5603c94f776c34299eefb6.tar.xz draklive-86bf0e31e55624655e5603c94f776c34299eefb6.zip |
plymouth need more space in initrd
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 bedb362..5de6c51 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -252,7 +252,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 += 1000; # splashy + $initrd_size += 1350; # plymouth $initrd =~ s/.gz$//; |