[rhel7-branch 3/3] Add support for reboot --kexec kickstart command (#1207747)
bcl
installerbot-noreply at redhat.com
Sat Jun 13 00:52:19 UTC 2015
From: "Brian C. Lane" <bcl at redhat.com>
Related: rhbz#1207747
(cherry picked from commit 82dcf4e393c47f22bb81d81dbe6444d1586168c6)
---
anaconda | 4 ++++
anaconda.spec.in | 1 +
2 files changed, 5 insertions(+)
diff --git a/anaconda b/anaconda
index 58dd325..f228a72 100755
--- a/anaconda
+++ b/anaconda
@@ -1011,6 +1011,10 @@ if __name__ == "__main__":
if ksdata.rescue.rescue:
flags.rescue_mode = True
+ # reboot with kexec
+ if ksdata.reboot.kexec:
+ flags.kexec = True
+
# Some kickstart commands must be executed immediately, as they affect
# how anaconda operates.
ksdata.logging.execute()
diff --git a/anaconda.spec.in b/anaconda.spec.in
index ab1c9f6..d3939b1 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -137,6 +137,7 @@ Requires: dmidecode
Requires: hfsplus-tools
%endif
%endif
+Requires: kexec-tools
Requires: python-coverage
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/86c4624f2beda05b689dddc81513dd421bc7b535
More information about the anaconda-patches
mailing list