mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
@@ -822,7 +822,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d):
|
||||
if filerdepends:
|
||||
for key in filerdepends:
|
||||
error_msg = "%s contained in package %s requires %s, but no providers found in RDEPENDS:%s?" % \
|
||||
(filerdepends[key].replace("_%s" % pkg, "").replace("@underscore@", "_"), pkg, key, pkg)
|
||||
(filerdepends[key].replace(":%s" % pkg, "").replace("@underscore@", "_"), pkg, key, pkg)
|
||||
package_qa_handle_error("file-rdeps", error_msg, d)
|
||||
package_qa_check_rdepends[vardepsexclude] = "OVERRIDES"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user