From d00ef216099104c03c400f56fb21e19089df4a7d Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Mon, 16 Feb 2009 14:19:35 -0600 Subject: reIPL support for s390 Signed-off-by: David Cantrell --- anaconda | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'anaconda') 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) -- cgit