summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/os-release/os-release.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb
index f988704..bf4f815 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -1,7 +1,7 @@
1inherit allarch 1inherit allarch
2 2
3SUMMARY = "Operating system identification" 3SUMMARY = "Operating system identification"
4DESCRIPTION = "The /etc/os-release file contains operating system identification data." 4DESCRIPTION = "The /usr/lib/os-release file contains operating system identification data."
5LICENSE = "MIT" 5LICENSE = "MIT"
6INHIBIT_DEFAULT_DEPS = "1" 6INHIBIT_DEFAULT_DEPS = "1"
7 7
@@ -42,6 +42,9 @@ python do_compile () {
42do_compile[vardeps] += "${OS_RELEASE_FIELDS}" 42do_compile[vardeps] += "${OS_RELEASE_FIELDS}"
43 43
44do_install () { 44do_install () {
45 install -d ${D}${sysconfdir} 45 install -d ${D}${libdir} ${D}${sysconfdir}
46 install -m 0644 os-release ${D}${sysconfdir}/ 46 install -m 0644 os-release ${D}${libdir}/
47 lnr ${D}${libdir}/os-release ${D}${sysconfdir}/os-release
47} 48}
49
50FILES_${PN} += "${libdir}/os-release"