mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02: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
@@ -30,7 +30,7 @@ WARN_QA ?= "ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
|
|||||||
textrel already-stripped incompatible-license files-invalid \
|
textrel already-stripped incompatible-license files-invalid \
|
||||||
installed-vs-shipped compile-host-path install-host-path \
|
installed-vs-shipped compile-host-path install-host-path \
|
||||||
pn-overrides infodir build-deps file-rdeps \
|
pn-overrides infodir build-deps file-rdeps \
|
||||||
unknown-configure-option symlink-to-sysroot \
|
unknown-configure-option symlink-to-sysroot multilib \
|
||||||
"
|
"
|
||||||
ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
|
ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
|
||||||
perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
|
perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
|
||||||
|
|||||||
@@ -132,8 +132,9 @@ python do_package_qa_multilib() {
|
|||||||
(not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
|
(not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
|
||||||
candidates.append(i)
|
candidates.append(i)
|
||||||
if len(candidates) > 0:
|
if len(candidates) > 0:
|
||||||
bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s"
|
msg = "%s package %s - suspicious values '%s' in %s" \
|
||||||
% (d.getVar('PN', True), pkg, ' '.join(candidates), var))
|
% (d.getVar('PN', True), pkg, ' '.join(candidates), var)
|
||||||
|
package_qa_handle_error("multilib", msg, d)
|
||||||
|
|
||||||
ml = d.getVar('MLPREFIX', True)
|
ml = d.getVar('MLPREFIX', True)
|
||||||
if not ml:
|
if not ml:
|
||||||
|
|||||||
Reference in New Issue
Block a user