mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
insane: Drop oe.qa.add_message usage
Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has code allowing it to be optimised with contains usage. The patch also drops unused return values which we stopped using a while ago and drops the now unneeded function parameters, generally leading to cleaner code. The code should be functionally equivalent. (From OE-Core rev: 9b2eea9fd4eab4f5e12e955738db22091b91f698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -62,7 +62,7 @@ do_install_ptest () {
|
||||
|
||||
WARN_QA:append = " internal-solver-deprecation"
|
||||
QARECIPETEST[internal-solver-deprecation] = "qa_check_solver_deprecation"
|
||||
def qa_check_solver_deprecation (pn, d, messages):
|
||||
def qa_check_solver_deprecation (pn, d):
|
||||
pkgconfig = (d.getVar("PACKAGECONFIG") or "").split()
|
||||
|
||||
if "libsolv" not in pkgconfig:
|
||||
|
||||
Reference in New Issue
Block a user