[meta-oe] toybox: fix to use "usrmerge" distro feature properly

Submitted by Eduardas Meile on Dec. 4, 2018, 4:19 p.m. | Patch ID: 156894

Details

Message ID 20181204161945.9576-1-eduardas.m@fods.com
State Accepted
Commit e797bcdbe11f9be7fa9c598e143845cf27be830d
Headers show

Commit Message

Eduardas Meile Dec. 4, 2018, 4:19 p.m.
Signed-off-by: Eduardas Meile <eduardas.m@fods.com>
---
 meta-oe/recipes-core/toybox/toybox_0.7.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.5.bb b/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
index 7e8e7b2ea..1ea868f67 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
@@ -60,7 +60,7 @@  python do_package_prepend () {
 
     dvar = d.getVar('D')
     pn = d.getVar('PN')
-    target = "/bin/toybox"
+    target = d.expand("${base_bindir}/toybox")
 
     f = open('%s/etc/toybox.links' % (dvar), 'r')
     for alt_link_name in f: