summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorMark Hamzy <hamzy@us.ibm.com>2009-11-17 13:17:26 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-11-17 14:22:56 -1000
commit2d02f9a082845ff9f71414eeca182135dab6327e (patch)
tree3aaad57afc06df610d8eb83d02dc43e652d415a8 /iutil.py
parent16f4926905b5919203dfde3f028bd75cac4fda32 (diff)
downloadanaconda-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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index 7912bbf4b..82a8f9a61 100644
--- a/iutil.py
+++ b/iutil.py
@@ -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")