summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2018-10-18 09:24:23 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-20 22:40:16 +0100
commit771c156fe6d2b04cd8d77d0e0b47717b6dedf00e (patch)
treecf0df9f6287c70910a83cceb3f0edfd2e4024637 /meta
parent78db831a7b0c2361a266eb37c7cbf2e368d2280a (diff)
downloadpoky-771c156fe6d2b04cd8d77d0e0b47717b6dedf00e.tar.gz
os-release: move to nonarch_libdir
Even on multilib systems, /usr/lib is where systemd expects the os-release file to live. (From OE-Core rev: b7b476efee8c959a0227905e40bd9b5ef493632d) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/os-release/os-release.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb
index bf4f815a10..7f3d9cba00 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -42,9 +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}${libdir} ${D}${sysconfdir} 45 install -d ${D}${nonarch_libdir} ${D}${sysconfdir}
46 install -m 0644 os-release ${D}${libdir}/ 46 install -m 0644 os-release ${D}${nonarch_libdir}/
47 lnr ${D}${libdir}/os-release ${D}${sysconfdir}/os-release 47 lnr ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/os-release
48} 48}
49 49
50FILES_${PN} += "${libdir}/os-release" 50FILES_${PN} += "${nonarch_libdir}/os-release"