diff options
author | Daniel Gomez <daniel@qtec.com> | 2021-11-18 23:06:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-21 11:05:02 +0000 |
commit | dbf4c65541cde5d308a7597ebeab5344bddb3a0c (patch) | |
tree | 04ef9238c4a9098d164238b9d996857bb8921a27 /meta/recipes-core/os-release/os-release.bb | |
parent | a5fa7f0101a4598822c8ce118405f9c64113fa13 (diff) | |
download | poky-dbf4c65541cde5d308a7597ebeab5344bddb3a0c.tar.gz |
os-release: Add DISTRO_CODENAME as vardeps for do_compile
DISTRO_CODENAME is part of VERSION variable but not used as dependency
for do_compile task. Append it to the vardeps list to rebuild in case it
changes.
(From OE-Core rev: ee0345057459c6d77fb64902a955e836c6c1e8e4)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/os-release/os-release.bb')
-rw-r--r-- | meta/recipes-core/os-release/os-release.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index 8847fe30c3..637d059e8b 100644 --- a/meta/recipes-core/os-release/os-release.bb +++ b/meta/recipes-core/os-release/os-release.bb | |||
@@ -12,7 +12,9 @@ do_configure[noexec] = "1" | |||
12 | 12 | ||
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 = "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME" | 15 | OS_RELEASE_FIELDS = "\ |
16 | ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME DISTRO_CODENAME \ | ||
17 | " | ||
16 | OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" | 18 | OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" |
17 | 19 | ||
18 | ID = "${DISTRO}" | 20 | ID = "${DISTRO}" |