diff options
author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2022-10-24 12:32:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:39 +0100 |
commit | 7d29e797183e869b9c30ffd0cac774c496e42549 (patch) | |
tree | 2c6538ae1952b92fc53fad97ee666a639ec18de3 /meta/recipes-core/os-release | |
parent | bf8655e116a93e37d5767de7f251db8c4f773930 (diff) | |
download | poky-7d29e797183e869b9c30ffd0cac774c496e42549.tar.gz |
os-release: add HOMEPAGE and link to documentation
It's important to use standard variable names in the
/etc/os-release file. Otherwise reporting version etc
details requires custom modifications in various tools.
(From OE-Core rev: af528f4b46e5df0a176d91d46cc6f89c7296c602)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/os-release')
-rw-r--r-- | meta/recipes-core/os-release/os-release.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index 15194df61b..860ee97224 100644 --- a/meta/recipes-core/os-release/os-release.bb +++ b/meta/recipes-core/os-release/os-release.bb | |||
@@ -2,6 +2,7 @@ inherit allarch | |||
2 | 2 | ||
3 | SUMMARY = "Operating system identification" | 3 | SUMMARY = "Operating system identification" |
4 | DESCRIPTION = "The /usr/lib/os-release file contains operating system identification data." | 4 | DESCRIPTION = "The /usr/lib/os-release file contains operating system identification data." |
5 | HOMEPAGE = "https://www.freedesktop.org/software/systemd/man/os-release.html" | ||
5 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
6 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
7 | 8 | ||
@@ -10,6 +11,7 @@ do_unpack[noexec] = "1" | |||
10 | do_patch[noexec] = "1" | 11 | do_patch[noexec] = "1" |
11 | do_configure[noexec] = "1" | 12 | do_configure[noexec] = "1" |
12 | 13 | ||
14 | # See: https://www.freedesktop.org/software/systemd/man/os-release.html | ||
13 | # Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME | 15 | # Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME |
14 | # HOME_URL SUPPORT_URL BUG_REPORT_URL | 16 | # HOME_URL SUPPORT_URL BUG_REPORT_URL |
15 | OS_RELEASE_FIELDS = "\ | 17 | OS_RELEASE_FIELDS = "\ |