Skip to contentSkip to conversation

ti-img-rogue-umlibs: handling the firmware installation with usrmerge

PATCH Jose Quaresma 1 participant 1 message Feb 20, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Wrong mailing list! Sorry, please drop this patch

Jose

Jose Quaresma via lists.openembedded.org <quaresma.jose= [email protected]> escreveu no dia segunda, 20/02/2023 à(s) 17:41:

Quoted 43 lines

The ti-img-rogue-umlibs package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

---
 .../libgles/ti-img-rogue-umlibs_1.18.6276027.bb               | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

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

(quoted diff) +1 -0
@@ -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

(quoted diff) +3 -1
+        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"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#177447):
https://lists.openembedded.org/g/openembedded-core/message/177447
Mute This Topic: https://lists.openembedded.org/mt/97091194/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma