summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2016-03-01 17:16:17 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 16:54:36 +0000
commit398728a78ddb6cbf770045e2684d910a0ba0fc90 (patch)
treee113942e7b1ac6c6190accd28cbc68f91d4c3e46
parentd5e3cf611d302babf0120f887f15aec176ff3429 (diff)
downloadopenembedded-core-398728a78ddb6cbf770045e2684d910a0ba0fc90.tar.gz
openembedded-core-398728a78ddb6cbf770045e2684d910a0ba0fc90.tar.bz2
openembedded-core-398728a78ddb6cbf770045e2684d910a0ba0fc90.zip
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@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 4827d08215..5e91a263dd 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
}