summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMark Hamzy <hamzy@us.ibm.com>2009-02-16 14:19:35 -0600
committerDavid Cantrell <dcantrell@redhat.com>2009-03-02 15:20:53 -1000
commitd00ef216099104c03c400f56fb21e19089df4a7d (patch)
tree7c413e8735cbd86e7fd1a4204778500c3e347f89 /anaconda
parent86eee97f1915c1743d7a2cd91c1b072ccd9bd1e7 (diff)
downloadanaconda-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-xanaconda10
1 files changed, 10 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index f669ee0e8..312696a32 100755
--- a/anaconda
+++ b/anaconda
@@ -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)