summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 22:04:59 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 22:04:59 +0000
commit43c925426295c54eefc4a93cd02efc5ba2751411 (patch)
treee1929b5a6f01aad7452f86c33b73862e7cc9ce87 /perl-install/install
parent93abb537ab1dfd377d39a812bbf5d1849829bc34 (diff)
downloaddrakx-43c925426295c54eefc4a93cd02efc5ba2751411.tar
drakx-43c925426295c54eefc4a93cd02efc5ba2751411.tar.gz
drakx-43c925426295c54eefc4a93cd02efc5ba2751411.tar.bz2
drakx-43c925426295c54eefc4a93cd02efc5ba2751411.tar.xz
drakx-43c925426295c54eefc4a93cd02efc5ba2751411.zip
move mapper devices initialization slightly before (for next commit)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/install2.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 269dd5b7e..4fa14fb82 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -182,6 +182,12 @@ sub formatPartitions {
eval { fs::mount::mount('none', "$::prefix/sys", 'sysfs') };
eval { fs::mount::usbfs($::prefix) };
+ #- needed by lilo
+ if (-d '/dev/mapper' && !$::local_install) {
+ my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}};
+ -e "/dev/$_" and cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
+ }
+
install::any::screenshot_dir__and_move();
install::any::move_compressed_image_to_disk($o);
@@ -189,12 +195,6 @@ sub formatPartitions {
require raid;
raid::write_conf($o->{all_hds}{raids});
-
- #- needed by lilo
- if (-d '/dev/mapper' && !$::local_install) {
- my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}};
- -e "/dev/$_" and cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
- }
}
#------------------------------------------------------------------------------