[PATCH rhel6-branch 2/2] Make zipl call sensitive to non-zero exit (#730023)
Jesse Keating
jkeating at redhat.com
Tue Jul 3 21:21:09 UTC 2012
If zipl doesn't succeed, the install won't reboot when finished. This
is not an acceptable situation.
---
booty/s390.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/booty/s390.py b/booty/s390.py
index 9fd9c1e..c237b5a 100644
--- a/booty/s390.py
+++ b/booty/s390.py
@@ -156,7 +156,8 @@ class s390BootloaderInfo(bootloaderInfo):
if not justConfigFile:
rc = iutil.execWithCapture("zipl", [], root = instRoot,
- stderr = "/dev/stderr")
+ stderr = "/dev/stderr",
+ fatal = True)
for line in rc.splitlines():
if line.startswith("Preparing boot device: "):
# Output here may look like:
--
1.7.10.2
More information about the anaconda-patches
mailing list