]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: add do_rootfs vardeps for {COMPRESS, IMAGE}_CMD_*
authorChristopher Larson <chris_larson@mentor.com>
Tue, 15 Sep 2015 00:10:37 +0000 (17:10 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Sep 2015 20:38:22 +0000 (21:38 +0100)
commita3473d1ee30f8ec688d57dddb6e3c2b887194384
tree7a4b84bf64f7093d1860462b4fe638fb0135b6b1
parente0d5e6a7d31f0e69f65f9bf3f1027b91c9bd23cc
image.bbclass: add do_rootfs vardeps for {COMPRESS, IMAGE}_CMD_*

We want do_rootfs to rerun if the fstype or compression commands or
dependencies change for any of our configured fstypes (IMAGE_FSTYPES).
IMAGE_TYPEDEP isn't explicitly handled, as it's traversed already, so the end
result will change if it does, and we only really care about the results, not
how we got there. This uses oe.image.Image()._get_image_types() to get the
info about the image and compression types in use.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image.bbclass