diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-11-21 14:57:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-22 12:02:57 +0000 |
commit | 00822848f594c57bb55e471983ff64f75a26a3a3 (patch) | |
tree | 90e41a128a24936136ab1d65262e2eacc924c7b7 /meta/lib | |
parent | 6460e97d929e6385acd0039c4ae1a0881631de0f (diff) | |
download | poky-00822848f594c57bb55e471983ff64f75a26a3a3.tar.gz |
package_manager.py: fix the message used to catch failing postinsts from dnf
Latest dnf versions have tweaked it.
(From OE-Core rev: 477db7cf4a6a0d06554c9d1539a01fed7c5cb389)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 02cf2b7621..392fe7e372 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -864,7 +864,7 @@ class RpmPM(PackageManager): | |||
864 | 864 | ||
865 | failed_scriptlets_pkgnames = collections.OrderedDict() | 865 | failed_scriptlets_pkgnames = collections.OrderedDict() |
866 | for line in output.splitlines(): | 866 | for line in output.splitlines(): |
867 | if line.startswith("Non-fatal POSTIN scriptlet failure in rpm package"): | 867 | if line.startswith("Error in POSTIN scriptlet in rpm package"): |
868 | failed_scriptlets_pkgnames[line.split()[-1]] = True | 868 | failed_scriptlets_pkgnames[line.split()[-1]] = True |
869 | 869 | ||
870 | if len(failed_scriptlets_pkgnames) > 0: | 870 | if len(failed_scriptlets_pkgnames) > 0: |