diff options
author | Mark Hamzy <hamzy@us.ibm.com> | 2009-02-16 14:19:35 -0600 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-03-02 15:20:53 -1000 |
commit | d00ef216099104c03c400f56fb21e19089df4a7d (patch) | |
tree | 7c413e8735cbd86e7fd1a4204778500c3e347f89 /anaconda | |
parent | 86eee97f1915c1743d7a2cd91c1b072ccd9bd1e7 (diff) | |
download | anaconda-d00ef216099104c03c400f56fb21e19089df4a7d.tar.gz anaconda-d00ef216099104c03c400f56fb21e19089df4a7d.tar.xz anaconda-d00ef216099104c03c400f56fb21e19089df4a7d.zip |
reIPL support for s390
Signed-off-by: David Cantrell <dcantrell@redhat.com>
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -498,6 +498,8 @@ class Anaconda: self.rescue = False self.updateSrc = None self.mediaDevice = None + self.canReIPL = False + self.reIPLMessage = None # *sigh* we still need to be able to write this out self.xdriver = None @@ -1023,3 +1025,11 @@ if __name__ == "__main__": isys.ejectCdrom(drive) del anaconda.intf + + if iutil.isS390(): + if anaconda.canReIPL: + log.info(_("reipl configuration successful => reboot")) + os.kill(os.getppid(), signal.SIGUSR2) + else: + log.info(_("reipl configuration failed => halt")) + os.kill(os.getppid(), signal.SIGUSR1) |