[oe-commits] [openembedded-core] 51/72: busybox.inc: add tail symlink so busybox can commit suicide cleanly

git at git.openembedded.org git at git.openembedded.org
Tue Mar 8 11:31:47 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 668aa881e56c23aa61ad4369b34147a3ad47d1cc
Author: Alejandro del Castillo <alejandro.delcastillo at ni.com>
AuthorDate: Tue Mar 1 17:16:17 2016 -0600

    busybox.inc: add tail symlink so busybox can commit suicide cleanly
    
    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>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 4827d08..5e91a26 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -415,6 +415,7 @@ pkg_prerm_${PN} () {
 	ln -s ${base_bindir}/busybox $tmpdir/sed
 	ln -s ${base_bindir}/busybox $tmpdir/sort
 	ln -s ${base_bindir}/busybox $tmpdir/grep
+	ln -s ${base_bindir}/busybox $tmpdir/tail
 	export PATH=$PATH:$tmpdir
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list