[OE-core] [PATCH] os-release: add more variables to list

Armin Kuster akuster808 at gmail.com
Thu Oct 25 07:20:55 UTC 2018


If someone extends the OS_RELEASE_FIELDS in a bbappend, it will cause the hash to change which is
caught by the yocto-check-layer

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 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 7f3d9cb..88bf8f8 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -12,7 +12,7 @@ do_configure[noexec] = "1"
 
 # Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME
 #                     HOME_URL SUPPORT_URL BUG_REPORT_URL
-OS_RELEASE_FIELDS = "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME"
+OS_RELEASE_FIELDS = "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME BUILD_ID HOME_URL BUG_REPORT_URL SUPPORT_URL CPE_NAME"
 
 ID = "${DISTRO}"
 NAME = "${DISTRO_NAME}"
-- 
2.7.4




More information about the Openembedded-core mailing list