summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-02 10:47:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-02 10:47:40 +0000
commitbf902e6b84019fcd8ea25339f545b710f05351f4 (patch)
tree4ede4ffb6c8cd2b8e2183026c87d9458a5d58451
parent238de8bebea9234f98be499d1526424b1ed956a3 (diff)
downloaddrakx-bf902e6b84019fcd8ea25339f545b710f05351f4.tar
drakx-bf902e6b84019fcd8ea25339f545b710f05351f4.tar.gz
drakx-bf902e6b84019fcd8ea25339f545b710f05351f4.tar.bz2
drakx-bf902e6b84019fcd8ea25339f545b710f05351f4.tar.xz
drakx-bf902e6b84019fcd8ea25339f545b710f05351f4.zip
allow upgrading a local_install (no need to call use_root_part)
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 15ee7014a..f6fcfc82f 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -169,7 +169,7 @@ sub selectInstallClass {
if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) {
# either one root is defined (and all is ok), or we take the first one we find
my $p = fs::get::root_($o->{fstab}) || (first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) || die)->{part};
- $o->{migrate_device_names} = install_any::use_root_part($o->{all_hds}, $p);
+ $o->{migrate_device_names} = install_any::use_root_part($o->{all_hds}, $p) if !$::local_install;
}
}