diff mbox series

[meta-networking,kirkstone,1/3] babeld: fix installation with usrmerge

Message ID 20251202123351.1645828-1-skandigraun@gmail.com
State New
Headers show
Series [meta-networking,kirkstone,1/3] babeld: fix installation with usrmerge | expand

Commit Message

Gyorgy Sarvari Dec. 2, 2025, 12:33 p.m. UTC
In case usrmerge DISTRO_FEATURE is enabled, the recipe installed
the application to /bin folder, which is however a symlink to /usr/bin,
so the installation ultimately failed.

To fix this, set the correct prefix for the installation.

This is a partial backport of f91983f1f3e897d25ab477fdfb5baed89ccc0daf

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-networking/recipes-protocols/babeld/babeld_1.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/babeld/babeld_1.10.bb b/meta-networking/recipes-protocols/babeld/babeld_1.10.bb
index 529cccf872..79b954478f 100644
--- a/meta-networking/recipes-protocols/babeld/babeld_1.10.bb
+++ b/meta-networking/recipes-protocols/babeld/babeld_1.10.bb
@@ -24,6 +24,6 @@  do_compile () {
 }
 
 do_install () {
-	oe_runmake install.minimal PREFIX=${D}
+	oe_runmake install.minimal TARGET=${D} PREFIX=${root_prefix}
 }