aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2018-11-21 14:57:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-21 23:29:06 +0000
commit477db7cf4a6a0d06554c9d1539a01fed7c5cb389 (patch)
treebeb2131e89fff049364cf3cc8b90b4ee96482fb9
parent73faaea3cc0f26052cd4e2422106c6243fb676b1 (diff)
downloadopenembedded-core-contrib-477db7cf4a6a0d06554c9d1539a01fed7c5cb389.tar.gz
openembedded-core-contrib-477db7cf4a6a0d06554c9d1539a01fed7c5cb389.tar.bz2
openembedded-core-contrib-477db7cf4a6a0d06554c9d1539a01fed7c5cb389.zip
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 02cf2b76218..392fe7e3724 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: