mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
multilib.bbclass: use package_qa_handle_error
Use package_qa_handle_error to handle the QA issue. (From OE-Core rev: c925847dea7b0480c901e94b6a071a18f5e00d45) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ad9542cf26
commit
041af82379
@@ -132,8 +132,9 @@ python do_package_qa_multilib() {
|
||||
(not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
|
||||
candidates.append(i)
|
||||
if len(candidates) > 0:
|
||||
bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s"
|
||||
% (d.getVar('PN', True), pkg, ' '.join(candidates), var))
|
||||
msg = "%s package %s - suspicious values '%s' in %s" \
|
||||
% (d.getVar('PN', True), pkg, ' '.join(candidates), var)
|
||||
package_qa_handle_error("multilib", msg, d)
|
||||
|
||||
ml = d.getVar('MLPREFIX', True)
|
||||
if not ml:
|
||||
|
||||
Reference in New Issue
Block a user