livemedia-creator: Check for packaging failures in the logs (#1374809)

anaconda-26.1 changed how package scriptlet failures are handled. They
are now fatal, and anaconda hangs after logging an Installation failure.

ERR packaging: Installation failed: PayloadInstallError('DNF error:
Non-fatal POSTIN scriptlet failure in rpm package mlocate',)

Catch this (the 'packaging: Installation failed' part) and terminate the
image creation.
This commit is contained in:
Brian C. Lane 2016-09-14 09:16:58 -07:00
parent 4f1f118cee
commit 492ab9e4a5
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ class LogRequestHandler(socketserver.BaseRequestHandler):
"traceback script(s) have been run",
"crashed on signal",
"packaging: Missed: NoSuchPackage",
"packaging: Installation failed",
"The following error occurred while installing. This is a fatal error"]
re_tests = [r"packaging: base repo .* not valid",
r"packaging: .* requires .*"]