diff options
author | David Lehman <dlehman@redhat.com> | 2009-03-04 20:45:57 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-03-04 20:45:57 -0600 |
commit | db77fac58a1ab609a73bd7dd6d71ee51bcf0e1f3 (patch) | |
tree | 0279b0573115d6d79f5b4c1892fdd55cb5f7f41b /packages.py | |
parent | 78b1415591a1db738d0c09b9de50e501e2048c28 (diff) | |
parent | 270003cd1f0c09a77608c4b0a07687c822f56274 (diff) | |
download | anaconda-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 'packages.py')
-rw-r--r-- | packages.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages.py b/packages.py index 1de32a7a9..2bac9d331 100644 --- a/packages.py +++ b/packages.py @@ -443,3 +443,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 |