]> code.ossystems Code Review - openembedded-core.git/commit
rm_work.bbclass: allow preserving additional content
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 13 Jan 2017 14:23:56 +0000 (15:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:54 +0000 (22:45 +0000)
commit28fbb2dd17033308cc09811fbc4f43e2f6c17f54
tree53d9a42dd6340676f72f9430e4440e1e04e04b4d
parentfc97963bc61bf16112859fe1d7e460a13d34baca
rm_work.bbclass: allow preserving additional content

By default, do_rm_work either skips recipes entirely (when listed in
RM_WORK_EXCLUDE) or removes everything except for temp.

In meta-swupd, virtual image recipes collaborate on producing update
data for the base recipe. Tasks running in the base recipe need some
information from the virtual images.

Those files could be passed via a new shared work directory, but that
scatters data in even more places. It's simpler to use the normal
WORKDIR and teach rm_work.bbclass to not remove the special output
with the new RM_WORK_EXCLUDE_ITEMS.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rm_work.bbclass