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 <[email protected]>
---
 meta-networking/recipes-protocols/babeld/babeld_1.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}
 }
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122261): 
https://lists.openembedded.org/g/openembedded-devel/message/122261
Mute This Topic: https://lists.openembedded.org/mt/116575212/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to