]> code.ossystems Code Review - openembedded-core.git/commit
classes/license: fix intermittent license collection warning
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 10 Nov 2015 15:30:55 +0000 (15:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2015 15:49:17 +0000 (15:49 +0000)
commitef7dc532e800d9b170246550cbc8703adf624beb
tree0faf1591b9629c09c651f0b9def2a93686ed7f8e
parentf533c1bf4c6edbecc67f9e2c62fd475d64668e86
classes/license: fix intermittent license collection warning

Fixes the following warning sometimes appearing during image builds:

WARNING: The license listed ABC was not in the licenses collected for recipe xyz

The files being looked for here, which runs during do_rootfs,
are written out by the do_populate_lic task for each recipe. However,
there was no explicit dependency between do_rootfs and all of the
do_populate_lic tasks to ensure they had run - only an implicit link via
do_build, so it is possible that sometimes they had not depending on how
the tasks were scheduled. Add an explicit set of dependencies to fix
this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/license.bbclass