mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
ti-img-rogue-umlibs: handling the firmware installation with usrmerge
The ti-img-rogue-umlibs package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
696c7d090d
commit
37de5fcd84
@@ -25,6 +25,10 @@ PVR_WS = "lws-generic"
|
||||
RDEPENDS:${PN} += "mesa-megadriver libdrm ti-img-rogue-driver"
|
||||
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
|
||||
mv ${D}/lib/firmware ${D}${nonarch_base_libdir}
|
||||
rmdir ${D}/lib
|
||||
fi
|
||||
rm -rf "${D}/etc/init.d"
|
||||
rm -rf "${D}/usr/lib/libvulkan.so"
|
||||
rm -rf "${D}/usr/lib/libvulkan.so.0"
|
||||
|
||||
Reference in New Issue
Block a user