From 17d44206ffb02a2f7c6a69c1863c335081af4825 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 19 Sep 2002 11:27:48 +0000 Subject: 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 --- perl-install/install2.pm | 3 +++ 1 file changed, 3 insertions(+) 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}); -- cgit v1.2.1