]> code.ossystems Code Review - openembedded-core.git/commit
metadata_scm: Fix signature handling of METADATA_REVISION and METADATA_BRANCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Dec 2020 17:16:59 +0000 (17:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Dec 2020 17:18:53 +0000 (17:18 +0000)
commit005651dc782859c01f170fb974811b2a13cb2cef
treed34ccdb168edd4ae44d91118d3c32a083cf650ec
parent20ef6292c3b573f1e867437e821b0a176c2e0e94
metadata_scm: Fix signature handling of METADATA_REVISION and METADATA_BRANCH

We're not interested in the dependencies of these functions and what
those functions look like, we're interested in the value the variable has.

Force the hashed value to be the actual value from the function. This
means using METADATA_REVISION in DISTRO_VERSION for example now
correctly rebuilds when it changes value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/metadata_scm.bbclass