]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: exclude initramfs images from locked signatures
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 29 Jun 2016 03:13:52 +0000 (15:13 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:55:40 +0000 (09:55 +0100)
commita7133bf6bb650b944d29d01129f36a56282acd2b
tree6485a20fa21e15befe32e3262c7b7f23169f60bd
parent2b9c092e89b421bf7fd6a7c9604a83ae420d85ba
classes/populate_sdk_ext: exclude initramfs images from locked signatures

Tasks for image recipes cannot be locked - there's nothing to restore
from shared state to cover them and as a result, if you had "live" in
IMAGE_FSTYPES the build would fail with "taskhash mismatch" errors for
do_rootfs and do_image_complete for the initramfs image recipe, since it
had to try to run those. We should probably catch that issue earlier in
the build and produce a proper error, but for now at least exclude these
signatures from the locked-sigs.inc file so that extensible SDK
installers built when IMAGE_FSTYPES includes "live". (It turned out we
already had code to find other image tasks in the task list in order to
generate the list of install targets.)

Follow-up fix for [YOCTO #9826].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass