]> code.ossystems Code Review - openembedded-core.git/commit
insane: Split do_package_qa into a separate task (from do_package)
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Jul 2014 20:15:34 +0000 (21:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:38 +0000 (17:37 +0100)
commitd31f75a72cb2322f753d945da86d5f3287eef06b
tree683664f224b6fe71ed88af0c2e7b47cc637b68c0
parent48b9ecd5335f63fb2bcc47c4b23d067122734fe9
insane: Split do_package_qa into a separate task (from do_package)

Its possible to run the package QA checks as a separate task rather than
as part of the do_package task. This offers more parallelism but the
fact that made me propose this is that ideally we'd like to access
pkgdata to help add new tests and to do that, we need to run later in
the task list. We also need to add in RDEPENDS to the task which apply
to do_package_write_* but not do_package. See the subsequent patches
for why this is desireable.

If we split into a separate task, we need to add in calls to read
the sub package data, build the cache structure used by do_package and
cover the task with sstate (which is empty and just acts as a stamp
saying it passed package QA). We also need to handle our own
dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass