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 /packages.py | |
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 'packages.py')
-rw-r--r-- | packages.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages.py b/packages.py index f871c49f8..12d98b76a 100644 --- a/packages.py +++ b/packages.py @@ -422,3 +422,26 @@ def betaNagScreen(anaconda): sys.exit(0) else: break + +def doReIPL(anaconda): +# # This is here as an example to fix the screen during the TUI debugging path +# anaconda.intf.screen.suspend () +# import pdb +# pdb.set_trace () + + if not iutil.isS390(): + return DISPATCH_NOOP + + messageInfo = iutil.reIPL(anaconda, os.getppid()) + + if messageInfo is None: + anaconda.canReIPL = True + else: + anaconda.canReIPL = False + + (errorMessage, rebootInstr) = messageInfo + + # errorMessage intentionally not shown in UI + anaconda.reIPLMessage = rebootInstr + + return DISPATCH_FORWARD |