diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2023-02-20 19:41:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-03-01 09:13:56 -0600 |
commit | 24db544ab680765316c4cbe1d4338687514fddc6 (patch) | |
tree | f6186cb29cb77f610ddfdc87e5772bb40e391985 /meta-ti-bsp/recipes-graphics | |
parent | 513ed650fca01f82add42e3f05d1fb8ddc13542e (diff) | |
download | meta-ti-24db544ab680765316c4cbe1d4338687514fddc6.tar.gz |
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>
Diffstat (limited to 'meta-ti-bsp/recipes-graphics')
-rw-r--r-- | meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb index 924e46ba..94d14ded 100644 --- a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb +++ b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb | |||
@@ -25,6 +25,10 @@ PVR_WS = "lws-generic" | |||
25 | RDEPENDS:${PN} += "mesa-megadriver libdrm ti-img-rogue-driver" | 25 | RDEPENDS:${PN} += "mesa-megadriver libdrm ti-img-rogue-driver" |
26 | 26 | ||
27 | do_install:append() { | 27 | do_install:append() { |
28 | if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then | ||
29 | mv ${D}/lib/firmware ${D}${nonarch_base_libdir} | ||
30 | rmdir ${D}/lib | ||
31 | fi | ||
28 | rm -rf "${D}/etc/init.d" | 32 | rm -rf "${D}/etc/init.d" |
29 | rm -rf "${D}/usr/lib/libvulkan.so" | 33 | rm -rf "${D}/usr/lib/libvulkan.so" |
30 | rm -rf "${D}/usr/lib/libvulkan.so.0" | 34 | rm -rf "${D}/usr/lib/libvulkan.so.0" |