[oe-commits] [openembedded-core] 07/11: package_manager.py: fix the message used to catch failing postinsts from dnf

git at git.openembedded.org git at git.openembedded.org
Wed Nov 21 23:29:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 477db7cf4a6a0d06554c9d1539a01fed7c5cb389
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Wed Nov 21 14:57:27 2018 +0100

    package_manager.py: fix the message used to catch failing postinsts from dnf
    
    Latest dnf versions have tweaked it.
    
    Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/package_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 02cf2b7..392fe7e 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list