From 2bba38c5baec17e551edab1b3fbfb62d8f315e5b Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Wed, 27 Jun 2001 06:27:58 +0000 Subject: break upgrade swap suggestion out into another step and store its findings in instdata. --- dispatch.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dispatch.py') diff --git a/dispatch.py b/dispatch.py index 06918a15b..295fc72ed 100644 --- a/dispatch.py +++ b/dispatch.py @@ -27,6 +27,7 @@ from bootloader import partitioningComplete, writeBootloader from bootloader import bootloaderSetupChoices from flags import flags from upgrade import upgradeFindPackages, upgradeMountFilesystems +from upgrade import upgradeSwapSuggestion # These are all of the install steps, in order. Note that upgrade and # install steps are the same thing! Upgrades skip install steps, while @@ -49,8 +50,6 @@ installSteps = [ ( "reconfigkeyboard", ("id.instLanguage", "id.keyboard" ) ), ( "installtype", ("dispatch", "id", "method", "intf") ), ( "findinstall", ("dispatch", "intf", "id", "instPath") ), - ( "upgradecontinue", queryUpgradeContinue, ("intf", "dir")), - ( "addswap", ("dispatch", "intf", "id.fsset", "instPath") ), ( "partitionmethod", ("id",) ), ( "partitionobjinit", partitionObjectsInitialize, ("id", "dir") ), ( "partitionmethodsetup", partitionMethodSetup, ("id", "dispatch") ), @@ -60,6 +59,10 @@ installSteps = [ ( "partition", ("id.fsset", "id.diskset", "id.partrequests", "intf")), ( "upgrademount", upgradeMountFilesystems, ("intf", "id.upgradeRoot", "id.fsset", "instPath")), + ( "upgradecontinue", queryUpgradeContinue, ("intf", "dir")), + ( "upgradeswapsuggestion", upgradeSwapSuggestion, ("dispatch", "id", + "instPath") ), + ( "addswap", ("intf", "id.fsset", "instPath", "id.upgradeSwapInfo") ), ( "partitiondone", partitioningComplete, ("dispatch", "id.bootloader", "id.fsset", "id.diskset", "id.partrequests") ), -- cgit