diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-28 22:04:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-28 22:04:59 +0000 |
commit | 43c925426295c54eefc4a93cd02efc5ba2751411 (patch) | |
tree | e1929b5a6f01aad7452f86c33b73862e7cc9ce87 /perl-install | |
parent | 93abb537ab1dfd377d39a812bbf5d1849829bc34 (diff) | |
download | drakx-backup-do-not-use-43c925426295c54eefc4a93cd02efc5ba2751411.tar drakx-backup-do-not-use-43c925426295c54eefc4a93cd02efc5ba2751411.tar.gz drakx-backup-do-not-use-43c925426295c54eefc4a93cd02efc5ba2751411.tar.bz2 drakx-backup-do-not-use-43c925426295c54eefc4a93cd02efc5ba2751411.tar.xz drakx-backup-do-not-use-43c925426295c54eefc4a93cd02efc5ba2751411.zip |
move mapper devices initialization slightly before (for next commit)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/install2.pm | 12 |
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; - } } #------------------------------------------------------------------------------ |