]> code.ossystems Code Review - openembedded-core.git/commit
archiver: fix archive filtering behavior
authorKevin Strasser <kevin.strasser@linux.intel.com>
Mon, 11 Mar 2013 22:51:23 +0000 (15:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 13:17:32 +0000 (13:17 +0000)
commit392562a21d9f2deb6fe6f8bb5378b09f4c5918d4
tree94e9f2aa0456e1a91b8ecdde9b94d51f81a259b8
parent7f1f3e6b6db9a50f5e68bc8dff95549e692153b1
archiver: fix archive filtering behavior

With the addition of sstate, ensure that archiving tasks are only
added to the build if they produce output in the directory specified
by the 'sstate-inputdirs' flag.

Move calls to 'tar_filter' and 'not_tarball' out to
archive-*-source.bbclass in order to filter out packages before their
archiving tasks are added to the build.

Additionally, negate the return value of copyleft_should_include in
tar_filter, so that packages that do not pass are in turn filtered out.

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/archive-configured-source.bbclass
meta/classes/archive-original-source.bbclass
meta/classes/archive-patched-source.bbclass
meta/classes/archiver.bbclass