diff options
Diffstat (limited to 'lib/MDV/Draklive/Initrd.pm')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index 6b738ca..be6513b 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -171,7 +171,7 @@ sub create_initrd_for_media { create_initrd_scriptlet($live, $media, @extra_modules_closure, @additional_modules); my $initrd = $live->get_builddir . $live->{prefix}{build}{boot} . $media->get_initrd_path; - compress_initrd_tree($live, $media, $initrd_tree, $initrd); + compress_initrd_tree($live, $initrd_tree, $initrd); add_splash($live, $initrd); } @@ -223,7 +223,7 @@ sub create_initrd_scriptlet { } sub compress_initrd_tree { - my ($live, $media, $initrd_tree, $initrd) = @_; + my ($live, $initrd_tree, $initrd) = @_; 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; |