[OE-core] [PATCH] busybox.inc: add tail symlink so busybox can commit suicide cleanly

Alejandro del Castillo alejandro.delcastillo at ni.com
Tue Mar 1 23:16:17 UTC 2016


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 <alejandro.delcastillo at ni.com>
---
 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




More information about the Openembedded-core mailing list