summaryrefslogtreecommitdiffstats
path: root/pyanaconda/bootloader.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2012-07-03 14:16:35 -0700
committerJesse Keating <jkeating@redhat.com>2012-07-05 10:08:21 -0700
commit888e8d4a01045a59221d4b941e8346f50caed8dd (patch)
treeafc5b7445a9e5013cdb61c718e46a75a6d18d516 /pyanaconda/bootloader.py
parentee29fa9f1861787fb8e173d22c3bd39bef15a26e (diff)
downloadanaconda-888e8d4a01045a59221d4b941e8346f50caed8dd.tar.gz
anaconda-888e8d4a01045a59221d4b941e8346f50caed8dd.tar.xz
anaconda-888e8d4a01045a59221d4b941e8346f50caed8dd.zip
Make zipl call sensitive to non-zero exit (#730023)
If zipl doesn't succeed, the install won't reboot when finished. This is not an acceptable situation.
Diffstat (limited to 'pyanaconda/bootloader.py')
-rw-r--r--pyanaconda/bootloader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 1982af017..ea4de5ed6 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2195,7 +2195,8 @@ class ZIPL(BootLoader):
def install(self):
buf = iutil.execWithCapture("zipl", [],
stderr="/dev/tty5",
- root=ROOT_PATH)
+ root=ROOT_PATH,
+ fatal=True)
for line in buf.splitlines():
if line.startswith("Preparing boot device: "):
# Output here may look like: