Skip to contentSkip to conversation

insane.bbclass: Add missing dependencies

PATCH New [email protected] 1 participant 2 messages Feb 21, 2017

lore
Share & tools
lore
#0 lore raw

v3 cover insane.bbclass: Add missing dependencies

From: Mariano Lopez <[email protected]>

Changes in v2:

- Add binutils as dependency too

Changes in v3:

- Remove prepare_recipe_sysroot task dependency as recommended by Richard

The following changes since commit e436a6398684d2872cb541f1cfb0f67b3618d15a:

layer.conf: bump version for change in eSDK selftest behaviour (2017-02-19 09:39:03 -0800)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib mariano/insane_fix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/insane_fix

Mariano Lopez (1):
insane.bbclass: Add missing dependencies

 meta/classes/insane.bbclass | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.10.2
#1 lore raw

PATCH v3 1/1 insane.bbclass: Add missing dependencies

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 | 3 +++
 1 file changed, 3 insertions(+)
meta/classes/insane.bbclass +3 -0
index e8e54f0..6a34bd5 100644
@@ -1221,6 +1221,9 @@ python do_package_qa () {
     bb.note("DONE with PACKAGE QA")
 }
 
+# binutils is used for most checks, so need to set as dependency
+# POPULATESYSROOTDEPS is defined in staging class.
+do_package_qa[depends] += "${POPULATESYSROOTDEPS}"
 do_package_qa[vardepsexclude] = "BB_TASKDEPDATA"
 do_package_qa[rdeptask] = "do_packagedata"
 addtask do_package_qa after do_packagedata do_package before do_build
Signature · 1 line
2.10.2