]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
os-release: add HOMEPAGE and link to documentation
authorMikko Rapeli <mikko.rapeli@linaro.org>
Mon, 24 Oct 2022 09:32:24 +0000 (12:32 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Oct 2022 11:26:17 +0000 (12:26 +0100)
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.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/os-release/os-release.bb

index 15194df61b5ebf8f1c5bb42b7d54e5dc392c12c9..860ee972249a9d0c5f195a8a5a7343e4f343399a 100644 (file)
@@ -2,6 +2,7 @@ inherit allarch
 
 SUMMARY = "Operating system identification"
 DESCRIPTION = "The /usr/lib/os-release file contains operating system identification data."
+HOMEPAGE = "https://www.freedesktop.org/software/systemd/man/os-release.html"
 LICENSE = "MIT"
 INHIBIT_DEFAULT_DEPS = "1"
 
@@ -10,6 +11,7 @@ do_unpack[noexec] = "1"
 do_patch[noexec] = "1"
 do_configure[noexec] = "1"
 
+# See: https://www.freedesktop.org/software/systemd/man/os-release.html
 # Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME
 #                     HOME_URL SUPPORT_URL BUG_REPORT_URL
 OS_RELEASE_FIELDS = "\