From e8f54cd09cd4ee9eb0322db38054ef0663006091 Mon Sep 17 00:00:00 2001 From: msivak Date: Fri, 26 Oct 2007 08:51:25 +0000 Subject: Inform user about the arch mismatch and offer to upgrade rpm platform Bug #217132 2007-10-26 Martin Sivak * backend.py (doRepoSetup): Update the platform file if necessary * dispatch.py: Add new step for detecting platform upgrade * flags.py (Flags): Add flag for controlling the rpm platform update * iutil.py (writeRpmPlatform): Now controlled by the updateRpmPlatform flag * upgrade.py: Add isUpgradingArch, queryUpgradeArch and add the upgradearchitecture step (#217132) --- backend.py | 1 + 1 file changed, 1 insertion(+) (limited to 'backend.py') diff --git a/backend.py b/backend.py index 1335f4067..9ec560b20 100644 --- a/backend.py +++ b/backend.py @@ -184,6 +184,7 @@ def doRepoSetup(anaconda): return DISPATCH_BACK if anaconda.id.upgrade: anaconda.backend.checkSupportedUpgrade(anaconda) + iutil.writeRpmPlatform(anaconda.rootPath) def doPostSelection(anaconda): return anaconda.backend.doPostSelection(anaconda) -- cgit