mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
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) (From OE-Core rev: 0362788144c3eff36099d8812c85cc70e8736859) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2b901687ab
commit
4c21eb49eb
@@ -42,9 +42,9 @@ python do_compile () {
|
||||
do_compile[vardeps] += "${OS_RELEASE_FIELDS}"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${libdir} ${D}${sysconfdir}
|
||||
install -m 0644 os-release ${D}${libdir}/
|
||||
lnr ${D}${libdir}/os-release ${D}${sysconfdir}/os-release
|
||||
install -d ${D}${nonarch_libdir} ${D}${sysconfdir}
|
||||
install -m 0644 os-release ${D}${nonarch_libdir}/
|
||||
lnr ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/os-release
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/os-release"
|
||||
FILES_${PN} += "${nonarch_libdir}/os-release"
|
||||
|
||||
Reference in New Issue
Block a user