mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 00:49:32 +02:00
package: Drop var-undefined QA check
The variables checked for are mandatory in all cases so a QA check does not seem to be the right choice for this. Additionally, the code never called `exit_if_errors` so the reported QA issue didn't actually fail the task. (From OE-Core rev: cb69d7eba80215f9f8b74dafe40ca2289fa294aa) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5bdce86cde
commit
c4110987b1
@@ -494,8 +494,7 @@ python do_package () {
|
||||
pn = d.getVar('PN')
|
||||
|
||||
if not workdir or not outdir or not dest or not dvar or not pn:
|
||||
msg = "WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package"
|
||||
oe.qa.handle_error("var-undefined", msg, d)
|
||||
bb.fatal("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")
|
||||
return
|
||||
|
||||
bb.build.exec_func("package_setup_pkgv", d)
|
||||
|
||||
Reference in New Issue
Block a user