aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-07-28 18:10:58 -0700
committerMatt Turner <mattst88@gentoo.org>2021-07-28 18:13:52 -0700
commitad04eab48c96350f0866d6c1fe76f289499df21b (patch)
tree56ab934f6b61d4cefc37278781ddceac6501b124 /catalyst
parenttargets: Remove dead custom_kopts variable (diff)
downloadcatalyst-ad04eab48c96350f0866d6c1fe76f289499df21b.tar.gz
catalyst-ad04eab48c96350f0866d6c1fe76f289499df21b.tar.bz2
catalyst-ad04eab48c96350f0866d6c1fe76f289499df21b.zip
catalyst: Remove boot/kernel/*/kernelopts support
This undocumented option was only wired up for hppa, and was used by the minimal livecd to set panic=30. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'catalyst')
-rw-r--r--catalyst/base/stagebase.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 10cffd4c..4a1b4eb6 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -662,7 +662,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
"boot/kernel/" + x + "/gk_action",
"boot/kernel/" + x + "/gk_kernargs",
"boot/kernel/" + x + "/initramfs_overlay",
- "boot/kernel/" + x + "/kernelopts",
"boot/kernel/" + x + "/packages",
"boot/kernel/" + x + "/softlevel",
"boot/kernel/" + x + "/sources",
@@ -1508,16 +1507,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
return
self._copy_kernel_config(kname=kname)
- # If we need to pass special options to the bootloader
- # for this kernel put them into the environment
- key = 'boot/kernel/' + kname + '/kernelopts'
- if key in self.settings:
- myopts = self.settings[key]
-
- if not isinstance(myopts, str):
- myopts = ' '.join(myopts)
- self.env[kname + "_kernelopts"] = myopts
-
key = 'boot/kernel/' + kname + '/extraversion'
self.settings.setdefault(key, '')
self.env["clst_kextraversion"] = self.settings[key]