Skip to contentSkip to conversation

insane.bbclass: Add prepare_recipe_sysroot dependency for package_qa

PATCH In review [email protected] 2 participants 2 messages Feb 7, 2017 – Feb 9, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 insane.bbclass: Add prepare_recipe_sysroot dependency for package_qa

From: 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.

---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/insane.bbclass +1 -1
index 3cf86c1..64c6d14 100644
@@ -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
#2 lore raw
Quoted 4 lines · On 7 February 2017 at 21:14, <[email protected]> wrote:

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.

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