BUILD_ID is defined using a weak assignment so that we can modify it externally. However, if we do it, we also need to do the same thing for BUILD_ID[vardepsexclude] with the new value we assigned to BUILD_ID.
Signed-off-by: Jose Quaresma <[email protected]> --- meta/recipes-core/os-release/os-release.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index e1906d05d8..bbbf9e3e11 100644 --- a/meta/recipes-core/os-release/os-release.bb +++ b/meta/recipes-core/os-release/os-release.bb @@ -41,7 +41,7 @@ CPE_DISTRO ??= "${DISTRO}" CPE_NAME = "cpe:/o:openembedded:${CPE_DISTRO}:${VERSION_ID}" BUILD_ID ?= "${DATETIME}" -BUILD_ID[vardepsexclude] = "DATETIME" +BUILD_ID[vardepsexclude] ?= "DATETIME" def sanitise_value(ver): # unquoted fields like VERSION_ID should be (from os-release(5)): -- 2.55.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240659): https://lists.openembedded.org/g/openembedded-core/message/240659 Mute This Topic: https://lists.openembedded.org/mt/120209165/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
