update-alternatives-opkg uses tail, which requires a temporary symlink
on tmpdir during removal, to avoid errors of the type:

/usr/bin/update-alternatives: line 113: tail: command not found

Signed-off-by: Alejandro del Castillo <[email protected]>
---
 meta/recipes-core/busybox/busybox.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 0769d92..705463d 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -400,6 +400,7 @@ pkg_prerm_${PN} () {
        ln -s /bin/busybox $tmpdir/sed
        ln -s /bin/busybox $tmpdir/sort
        ln -s /bin/busybox $tmpdir/grep
+       ln -s /bin/busybox $tmpdir/tail
        export PATH=$PATH:$tmpdir
 }
 
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to