[yast-commit] r62634 - in /branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients: inst_autoinit.ycp inst_store_upgrade_software.ycp
Author: jsrain Date: Thu Oct 14 12:28:06 2010 New Revision: 62634 URL: http://svn.opensuse.org/viewcvs/yast?rev=62634&view=rev Log: changed path of the profiles in system Modified: branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_autoinit.ycp branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_store_upgrade_software.ycp Modified: branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_autoinit.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_autoinit.ycp?rev=62634&r1=62633&r2=62634&view=diff ============================================================================== --- branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_autoinit.ycp (original) +++ branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_autoinit.ycp Thu Oct 14 12:28:06 2010 @@ -191,7 +191,7 @@ any autoinstall = SCR::Read(.etc.install_inf.AutoYaST); if (Mode::autoupgrade() && ! (autoinstall != nil && is ( autoinstall , string ) && (string)autoinstall != "")) { - AutoinstConfig::ParseCmdLine("file:///mnt/autoupg.xml"); + AutoinstConfig::ParseCmdLine("file:///mnt/root/autoupg.xml"); AutoinstConfig::ProfileInRootPart = true; } Modified: branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_store_upgrade_software.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_store_upgrade_software.ycp?rev=62634&r1=62633&r2=62634&view=diff ============================================================================== --- branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_store_upgrade_software.ycp (original) +++ branches/tmp/jsrain/unattended-migration/autoinstallation/src/clients/inst_store_upgrade_software.ycp Thu Oct 14 12:28:06 2010 @@ -24,8 +24,8 @@ patterns_to_install = filter (string p, patterns_to_install, { return p != nil; }); - y2internal ("Patterns to install: %1", patterns_to_install); - y2internal ("Patterns to remove: %1", patterns_to_remove); + y2milestone ("Patterns to install: %1", patterns_to_install); + y2milestone ("Patterns to remove: %1", patterns_to_remove); // find out status of packages list<map<string,any> > packages = Pkg::ResolvableProperties ("", `package, ""); @@ -44,8 +44,8 @@ packages_to_install = filter (string p, packages_to_install, { return p != nil; }); - y2internal ("Packages to install: %1", packages_to_install); - y2internal ("Packages to remove: %1", packages_to_remove); + y2milestone ("Packages to install: %1", packages_to_install); + y2milestone ("Packages to remove: %1", packages_to_remove); map software = $[ "packages": packages_to_install, @@ -55,7 +55,8 @@ ]; Profile::current["software"] = software; - Profile::Save (Installation::destdir + "/autoupg_updated.xml"); + // /root exists during upgrade + Profile::Save (Installation::destdir + "/root/autoupg_updated.xml"); return `auto; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsrain@svn2.opensuse.org