Skip to contentSkip to conversation

ti-img-rogue-umlibs: drop handling of usrmerge

PATCH Superseded Max Krummenacher 1 participant 1 message Sep 6, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-img-rogue-umlibs: drop handling of usrmerge

From: Max Krummenacher <[email protected]>

If usrmerge is set the do_rootfs task creates symlinks for the base directories to their equivalent /usr/ directories and thus installs the files in /usr/{bin|lib|...} by following the symlinks. There is no need to do the move already here.

This prevents a build error should a subsequent bitbake execution
rerun do_install where the sources to 'mv' no longer exist.
| mv: cannot stat 'ti-img-rogue-umlibs/23.1.6404501/git/targetfs/am62_linux/lws-generic/release/lib/firmware': No such file or directory

---
 .../powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb         | 3 ---
 1 file changed, 3 deletions(-)
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb +0 -3
index 9b45a91f..8033322c 100644
@@ -67,9 +67,6 @@ do_install:prepend() {
             rm -rf ${file}
         done
     fi
-    if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
-        mv ${S}/lib/firmware ${S}${nonarch_base_libdir}
-    fi
 
     # clean up any empty directories
     find "${S}" -empty -type d -delete
Signature · 1 line
2.35.3