]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: add PACKAGE_ADD_METADATA to sstate variables
authorMichael Ho <Michael.Ho@bmw.de>
Mon, 25 May 2020 08:22:58 +0000 (10:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 May 2020 21:25:27 +0000 (22:25 +0100)
commitde871a51cc450e3f90c923c5d80155453e5c241d
treef3d93d7558f586d258bb267326fb085f8adf5e8c
parentb438a90fa4644dd3e5355f82730257ef579ceda9
package.bbclass: add PACKAGE_ADD_METADATA to sstate variables

The PACKAGE_ADD_METADATA can be used to define additional metadata for
packages. Changes to this variable should affect the packaging sstate hash
so packages are re-generated when this variable changes.

This variable is added to both PKGDATA_VARS and PACKAGEVARS. It is needed
in PACKAGEVARS to ensure changes invoke do_package to re-run. It is needed
in PKGDATA_VARS to ensure changes are written into the pkgdata so that the
hash equiv reports a change and does not skip over the package_write tasks.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass