]> code.ossystems Code Review - openembedded-core.git/commit
toaster.bbclass: Separate artifact dump from image file dump
authorElliot Smith <elliot.smith@intel.com>
Wed, 13 Jan 2016 08:55:36 +0000 (08:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Jan 2016 11:32:21 +0000 (11:32 +0000)
commitcd2eb45ce1f9be15e133d6fe940c1cff2199099b
tree56fdf2e9c00f9b4adc0613c53aacfbd0c610c24a
parentd966a4ed8f0de7dc9b08880505c668421e6d4488
toaster.bbclass: Separate artifact dump from image file dump

SDK artifacts were being dumped alongside the image file dump.
However, the dump was not being triggered correctly, as it
should be attached as a postfunc to do_populate_sdk, rather than
do_rootfs, as do_rootfs doesn't always fire when populating
the SDK directory.

By adding a postfunc to do_populate_sdk, the postfunc is fired
in the correct situations.

Also fixes the directory which is scanned for SDK artifacts, as
this is different from the image file directory.

[YOCTO #7603]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toaster.bbclass