diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2021-08-04 01:10:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-04 20:45:41 +0100 |
commit | 3c492c59c0af8f4fb76b9d64539a36ede4a8c5bd (patch) | |
tree | a824c429b552aad417131f83b6db017f35cca56a /meta/classes/insane.bbclass | |
parent | f83a4482a933ce4b586d81129c8a3f1ed2e263f9 (diff) | |
download | poky-3c492c59c0af8f4fb76b9d64539a36ede4a8c5bd.tar.gz |
insane.bbclass: fix the file-rdeps QA message for the new override syntax
Instead of replacing '_<pkg>', we should be replacing ':<pkg>'.
Otherwise, when we meet a 'file-rdeps' QA error, the error message would be
like below.
QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ...
The ':libatopology' should not be in the error message.
(From OE-Core rev: d65541c13b1346468dce749523b1dc04cfb7f70e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index ee858f84b7..be5ec60146 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -822,7 +822,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d): | |||
822 | if filerdepends: | 822 | if filerdepends: |
823 | for key in filerdepends: | 823 | for key in filerdepends: |
824 | error_msg = "%s contained in package %s requires %s, but no providers found in RDEPENDS:%s?" % \ | 824 | error_msg = "%s contained in package %s requires %s, but no providers found in RDEPENDS:%s?" % \ |
825 | (filerdepends[key].replace("_%s" % pkg, "").replace("@underscore@", "_"), pkg, key, pkg) | 825 | (filerdepends[key].replace(":%s" % pkg, "").replace("@underscore@", "_"), pkg, key, pkg) |
826 | package_qa_handle_error("file-rdeps", error_msg, d) | 826 | package_qa_handle_error("file-rdeps", error_msg, d) |
827 | package_qa_check_rdepends[vardepsexclude] = "OVERRIDES" | 827 | package_qa_check_rdepends[vardepsexclude] = "OVERRIDES" |
828 | 828 | ||