[master][PATCH v3] linux-firmware-arago: correct removal of overlapping FW

Denys Dmytriyenko <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
From: Denys Dmytriyenko <[email protected]>

Use the correct variable, instead of hard-coding /lib/firmware, when
removing firmware images that overlap with the ones from meta-ti-bsp.
This way it will work properly even when usrmerge is enabled.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
v3 - remove accidental double-slash

 .../recipes-kernel/linux-firmware/linux-firmware-arago.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc b/meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc
index 43c54575..e22047ca 100644
--- a/meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc
+++ b/meta-arago-distro/recipes-kernel/linux-firmware/linux-firmware-arago.inc
@@ -1,6 +1,7 @@
-PR:append = ".arago2"
+PR:append = ".arago3"
 
+# meta-ti-bsp packages newer versions on these
 do_install:append() {
-	rm -rf  ${D}/lib/firmware/ti-connectivity/
-	rm -rf  ${D}/lib/firmware/cadence/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
+	rm -rf  ${D}${nonarch_base_libdir}/firmware/cadence/
 }
-- 
2.25.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.