summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-19 11:27:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-19 11:27:48 +0000
commit17d44206ffb02a2f7c6a69c1863c335081af4825 (patch)
tree255c5d30569d1f12dbe5f3db9182a64251914800 /perl-install/install2.pm
parentedb713d81c8e736d9ce14e8bd6ffd228a47b7e71 (diff)
downloaddrakx-17d44206ffb02a2f7c6a69c1863c335081af4825.tar
drakx-17d44206ffb02a2f7c6a69c1863c335081af4825.tar.gz
drakx-17d44206ffb02a2f7c6a69c1863c335081af4825.tar.bz2
drakx-17d44206ffb02a2f7c6a69c1863c335081af4825.tar.xz
drakx-17d44206ffb02a2f7c6a69c1863c335081af4825.zip
try to workaround strange situations when mkinitrd fail because
loop is not loaded (we don't know who calls mkinitrd), by loading the loop module right after format-mount'ing the partitions
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 90ac0894a..b2ad7353d 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -185,6 +185,9 @@ sub formatPartitions {
devices::make("$o->{prefix}/dev/null");
chmod 0666, "$o->{prefix}/dev/null";
+ #- TEMPORARY WORKAROUND (gc) try to workaround mkinitrd failed problems [mkinitrd called sometimes but I don't know where from :-(]
+ eval { modules::load("loop") };
+
common::screenshot_dir__and_move();
any::rotate_logs($o->{prefix});