insane.bbclass: Add prepare_recipe_sysroot dependency for package_qa
PATCH 1/1 insane.bbclass: Add prepare_recipe_sysroot dependency for package_qa
In reply to a message not in the archiveFrom: Mariano Lopez <[email protected]>
package_qa task requires some tools installed in sysroot; with the introduction of recipe specific sysroot this task won't have such tools installed if it's forced to run.
Signed-off-by Mariano Lopez <[email protected]>
--- meta/classes/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/insane.bbclass +1 -1
@@ -1225,7 +1225,7 @@ python do_package_qa () { do_package_qa[vardepsexclude] = "BB_TASKDEPDATA" do_package_qa[rdeptask] = "do_packagedata" -addtask do_package_qa after do_packagedata do_package before do_build +addtask do_package_qa after do_prepare_recipe_sysroot do_packagedata do_package before do_build SSTATETASKS += "do_package_qa" do_package_qa[sstate-inputdirs] = ""
Signature · 1 line
2.10.2
Quoted 4 lines · On 7 February 2017 at 21:14, <[email protected]> wrote:
package_qatask requires some tools installed in sysroot; with the introduction of recipe specific sysroot this task won't have such tools installed if it's forced to run.
This isn't the right fix.
Please add dependencies to the tasks, similar to
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b0f70c5f9e423b37260bf3f3c105095ba4c39afb
(and fixed up in
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f66f1af4b165d713b2e0bb0b8f6123cf82fad456
)
Ross