]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory.bbclass: do not influence sstate of do_rootfs
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 10 Apr 2017 08:28:12 +0000 (10:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Apr 2017 07:50:53 +0000 (08:50 +0100)
commite4c28ea05ef4514deb3d19e8e33f81d352712455
tree1b742a0942f9ae8efd02d1c6f76cc8bdba1bbb9d
parent7bd6a4d56c08bf7f9ced7c07327e6163216fee08
buildhistory.bbclass: do not influence sstate of do_rootfs

Enabling or disabling buildhistory caused a rebuild of images, which
is undesirable. For example, it prevented image reuse from a main
build with buildhistory in a following oe-selftest where buildhistory
must be disabled.

The reason are the additional ROOTFS_POSTUNINSTALL_COMMAND and
ROOTFS_POSTUNINSTALL_COMMAND entries. Those need to be excluded both
via vardepvalueexclude and vardepsexclude.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass