]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_manager.py: fix the message used to catch failing postinsts from dnf
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 21 Nov 2018 13:57:27 +0000 (14:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Nov 2018 23:29:06 +0000 (23:29 +0000)
Latest dnf versions have tweaked it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py

index 02cf2b762181df2181265ba5f658f33450666b3c..392fe7e3724809dc1f467b5b4c8e4c5411c982af 100644 (file)
@@ -864,7 +864,7 @@ class RpmPM(PackageManager):
 
         failed_scriptlets_pkgnames = collections.OrderedDict()
         for line in output.splitlines():
-            if line.startswith("Non-fatal POSTIN scriptlet failure in rpm package"):
+            if line.startswith("Error in POSTIN scriptlet in rpm package"):
                 failed_scriptlets_pkgnames[line.split()[-1]] = True
 
         if len(failed_scriptlets_pkgnames) > 0: