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) --- dispatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dispatch.py') diff --git a/dispatch.py b/dispatch.py index de3ebe9ef..3fe8a614f 100644 --- a/dispatch.py +++ b/dispatch.py @@ -32,7 +32,7 @@ from partitioning import partitionObjectsInitialize from partitioning import partitioningComplete from bootloader import writeBootloader, bootloaderSetupChoices from flags import flags -from upgrade import upgradeMountFilesystems +from upgrade import upgradeMountFilesystems, queryUpgradeArch from upgrade import upgradeSwapSuggestion, upgradeMigrateFind from upgrade import findRootParts, queryUpgradeContinue from network import networkDeviceCheck @@ -73,6 +73,7 @@ installSteps = [ ("autopartitionexecute", doAutoPartition, ), ("partition", ), ("upgrademount", upgradeMountFilesystems, ), + ("upgradearchitecture", queryUpgradeArch, ), ("upgradecontinue", queryUpgradeContinue, ), ("upgradeswapsuggestion", upgradeSwapSuggestion, ), ("addswap", ), -- cgit