diff options
-rw-r--r-- | meta/recipes-core/os-release/os-release.bb | 3 |
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 |
15 | OS_RELEASE_FIELDS = "\ | 15 | OS_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 | " |
18 | OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" | 18 | OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" |
19 | 19 | ||
@@ -21,6 +21,7 @@ ID = "${DISTRO}" | |||
21 | NAME = "${DISTRO_NAME}" | 21 | NAME = "${DISTRO_NAME}" |
22 | VERSION = "${DISTRO_VERSION}${@' (%s)' % DISTRO_CODENAME if 'DISTRO_CODENAME' in d else ''}" | 22 | VERSION = "${DISTRO_VERSION}${@' (%s)' % DISTRO_CODENAME if 'DISTRO_CODENAME' in d else ''}" |
23 | VERSION_ID = "${DISTRO_VERSION}" | 23 | VERSION_ID = "${DISTRO_VERSION}" |
24 | VERSION_CODENAME = "${DISTRO_CODENAME}" | ||
24 | PRETTY_NAME = "${DISTRO_NAME} ${VERSION}" | 25 | PRETTY_NAME = "${DISTRO_NAME} ${VERSION}" |
25 | BUILD_ID ?= "${DATETIME}" | 26 | BUILD_ID ?= "${DATETIME}" |
26 | BUILD_ID[vardepsexclude] = "DATETIME" | 27 | BUILD_ID[vardepsexclude] = "DATETIME" |