diff options
author | Mark Hamzy <hamzy@us.ibm.com> | 2009-11-17 13:17:26 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-11-17 14:22:56 -1000 |
commit | 2d02f9a082845ff9f71414eeca182135dab6327e (patch) | |
tree | 3aaad57afc06df610d8eb83d02dc43e652d415a8 /iutil.py | |
parent | 16f4926905b5919203dfde3f028bd75cac4fda32 (diff) | |
download | anaconda-2d02f9a082845ff9f71414eeca182135dab6327e.tar.gz anaconda-2d02f9a082845ff9f71414eeca182135dab6327e.tar.xz anaconda-2d02f9a082845ff9f71414eeca182135dab6327e.zip |
Get correct boot device in reIPL code for s390 (#537390).
Account for the /boot existing on its own partition or as part of /.
Output the values of the reipl configuration in linuxrc.s390 before
reboot.
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -998,7 +998,10 @@ def reIPL(anaconda, loader_pid): reipl_path = "/sys/firmware/reipl" - ipldev = anaconda.id.bootloader.device + try: + ipldev = anaconda.platform.bootDevice().disk.name + except: + ipldev = None if ipldev is None: message = _("Error determining mount point type") |