summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-04 20:45:57 -0600
committerDavid Lehman <dlehman@redhat.com>2009-03-04 20:45:57 -0600
commitdb77fac58a1ab609a73bd7dd6d71ee51bcf0e1f3 (patch)
tree0279b0573115d6d79f5b4c1892fdd55cb5f7f41b /anaconda
parent78b1415591a1db738d0c09b9de50e501e2048c28 (diff)
parent270003cd1f0c09a77608c4b0a07687c822f56274 (diff)
downloadanaconda-db77fac58a1ab609a73bd7dd6d71ee51bcf0e1f3.tar.gz
anaconda-db77fac58a1ab609a73bd7dd6d71ee51bcf0e1f3.tar.xz
anaconda-db77fac58a1ab609a73bd7dd6d71ee51bcf0e1f3.zip
Merge branch 'master' into storage
Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda10
1 files changed, 10 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 4e328b8c3..3abce5dcf 100755
--- a/anaconda
+++ b/anaconda
@@ -497,6 +497,8 @@ class Anaconda:
self.updateSrc = None
self.mediaDevice = None
self.platform = None
+ self.canReIPL = False
+ self.reIPLMessage = None
# *sigh* we still need to be able to write this out
self.xdriver = None
@@ -1024,3 +1026,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)