summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-23 19:50:53 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-23 19:50:53 +0000
commit1d7968318f8b42a85da193ab658ea106e8ee47d3 (patch)
tree3ac8afc2286d863202d8b2ee6ec58231a5abbf05
parent4ee29cfe7d7879c9a926e00751c9743b3352b270 (diff)
downloaddrakx-1d7968318f8b42a85da193ab658ea106e8ee47d3.tar
drakx-1d7968318f8b42a85da193ab658ea106e8ee47d3.tar.gz
drakx-1d7968318f8b42a85da193ab658ea106e8ee47d3.tar.bz2
drakx-1d7968318f8b42a85da193ab658ea106e8ee47d3.tar.xz
drakx-1d7968318f8b42a85da193ab658ea106e8ee47d3.zip
(prepare_minimal_root) get rid of useless arg
(spot by perl_checker)
-rw-r--r--perl-install/fs/any.pm3
-rw-r--r--perl-install/install/install2.pm2
2 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm
index c84dc6a38..431a22531 100644
--- a/perl-install/fs/any.pm
+++ b/perl-install/fs/any.pm
@@ -88,8 +88,7 @@ sub create_minimal_files() {
chmod 0666, "$::prefix/dev/null";
}
-sub prepare_minimal_root {
- my ($_all_hds) = @_;
+sub prepare_minimal_root() {
fs::any::create_minimal_files();
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 0ef9a10ae..524bfc15d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -176,7 +176,7 @@ sub formatPartitions {
eval { rm_rf("$::prefix/var/lib/rpm") };
}
- fs::any::prepare_minimal_root($o->{all_hds});
+ fs::any::prepare_minimal_root();
install::any::screenshot_dir__and_move();
install::any::move_compressed_image_to_disk($o);