summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installclass.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index f2884b826..57a632e1d 100644
--- a/installclass.py
+++ b/installclass.py
@@ -141,6 +141,7 @@ class BaseInstallClass:
"dopostaction",
"writexconfig",
"writeksconfig",
+ "bootdisk",
"methodcomplete",
"complete"
)
@@ -172,7 +173,7 @@ class BaseInstallClass:
# 'noupgrade' can be used on the command line to force not looking
# for partitions to upgrade. useful in some cases...
cmdline = open("/proc/cmdline", "r").read()
- if cmdline.find("upgrade") == -1:
+ if cmdline.find("noupgrade") != -1:
dispatch.skipStep("findrootparts")
# called from anaconda so that we can skip steps in the headless case