]> 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)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 28 Dec 2015 07:03:15 +0000 (23:03 -0800)
commitf521d8d2d1ea495383f54e5e7c2754dde007f7eb
treeb2576f1a07ee3bde6686c95441bb7984fe768900
parent8968ede9c8cdcd2cbf13bd5bba95883082189908
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.

(From OE-Core master rev: ef7dc532e800d9b170246550cbc8703adf624beb)

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