diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-21 18:15:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-21 18:15:37 +0000 |
commit | e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b (patch) | |
tree | 61b2e028ffcbbb85172104a24693a20cab0d30ba /perl-install/install_steps.pm | |
parent | 12eb8608ad517afff8c323e276f2f4f4e5405896 (diff) | |
download | drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.gz drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.bz2 drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.xz drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.zip |
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 7b2ae7416..06d24c232 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -123,6 +123,7 @@ sub setupSCSI { modules::load_ide(); modules::load_thiskind('scsi|disk'); } + #------------------------------------------------------------------------------ sub doPartitionDisksBefore { my ($o) = @_; @@ -135,7 +136,6 @@ sub doPartitionDisksBefore { eval { fs::umount_all($o->{fstab}, $o->{prefix}) } if $o->{fstab} && !$::testing; $o->{raid} ||= {}; - install_interactive::getHds($o); } #------------------------------------------------------------------------------ @@ -161,13 +161,15 @@ sub doPartitionDisksAfter { sub doPartitionDisks { my ($o) = @_; + install_any::getHds($o); + if ($o->{isUpgrade}) { # either one root is defined (and all is ok), or we take the first one we find my $p = fsedit::get_root($o->{fstab}) || first(install_any::find_root_parts($o->{hds}, $o->{prefix})) or die; install_any::use_root_part($o->{fstab}, $p, $o->{prefix}); - } else { - #TODO; - } + } elsif ($o->{partitioning}{auto_allocate}) { + fsedit::auto_allocate($o->{hds}, $o->{partitions}); + } } #------------------------------------------------------------------------------ |