[OE-core] [PATCH 7/7] package_manager.py: fix the message used to catch failing postinsts from dnf
Alexander Kanavin
alex.kanavin at gmail.com
Wed Nov 21 13:57:27 UTC 2018
Latest dnf versions have tweaked it.
Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
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 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:
--
2.17.1
More information about the Openembedded-core
mailing list