summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/os-release/os-release.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb
index caa2ed25aa..15194df61b 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -13,7 +13,7 @@ do_configure[noexec] = "1"
13# Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME 13# Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME
14# HOME_URL SUPPORT_URL BUG_REPORT_URL 14# HOME_URL SUPPORT_URL BUG_REPORT_URL
15OS_RELEASE_FIELDS = "\ 15OS_RELEASE_FIELDS = "\
16 ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME DISTRO_CODENAME \ 16 ID ID_LIKE NAME VERSION VERSION_ID VERSION_CODENAME PRETTY_NAME \
17" 17"
18OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" 18OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID"
19 19
@@ -21,6 +21,7 @@ ID = "${DISTRO}"
21NAME = "${DISTRO_NAME}" 21NAME = "${DISTRO_NAME}"
22VERSION = "${DISTRO_VERSION}${@' (%s)' % DISTRO_CODENAME if 'DISTRO_CODENAME' in d else ''}" 22VERSION = "${DISTRO_VERSION}${@' (%s)' % DISTRO_CODENAME if 'DISTRO_CODENAME' in d else ''}"
23VERSION_ID = "${DISTRO_VERSION}" 23VERSION_ID = "${DISTRO_VERSION}"
24VERSION_CODENAME = "${DISTRO_CODENAME}"
24PRETTY_NAME = "${DISTRO_NAME} ${VERSION}" 25PRETTY_NAME = "${DISTRO_NAME} ${VERSION}"
25BUILD_ID ?= "${DATETIME}" 26BUILD_ID ?= "${DATETIME}"
26BUILD_ID[vardepsexclude] = "DATETIME" 27BUILD_ID[vardepsexclude] = "DATETIME"