summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-29 00:29:43 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-29 00:29:43 +0000
commit87adcd0fc4069a15f4949732e5767a4e8c2b3c69 (patch)
tree226888a3a869c57af2ed7ed9ff080d0e0df659f8 /lib/MDV
parentc79c5d1b01d61118d6a6753144349446d83636e8 (diff)
downloaddraklive-87adcd0fc4069a15f4949732e5767a4e8c2b3c69.tar
draklive-87adcd0fc4069a15f4949732e5767a4e8c2b3c69.tar.gz
draklive-87adcd0fc4069a15f4949732e5767a4e8c2b3c69.tar.bz2
draklive-87adcd0fc4069a15f4949732e5767a4e8c2b3c69.tar.xz
draklive-87adcd0fc4069a15f4949732e5767a4e8c2b3c69.zip
remove unused media variable
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Initrd.pm4
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;