summaryrefslogtreecommitdiffstats
path: root/meta
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:58:11 +0000
commit656aeff16aa1c062d28d71ad00309a1bfc299779 (patch)
tree1271338d9dbc304463c1e82c79e47bd61ccd387d /meta
parenta321f4e5fc95d3493d5a81a66a41e0d98aa8fefc (diff)
downloadpoky-656aeff16aa1c062d28d71ad00309a1bfc299779.tar.gz
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 (From OE-Core rev: 398728a78ddb6cbf770045e2684d910a0ba0fc90) 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>
Diffstat (limited to 'meta')
-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} () {
415 ln -s ${base_bindir}/busybox $tmpdir/sed 415 ln -s ${base_bindir}/busybox $tmpdir/sed
416 ln -s ${base_bindir}/busybox $tmpdir/sort 416 ln -s ${base_bindir}/busybox $tmpdir/sort
417 ln -s ${base_bindir}/busybox $tmpdir/grep 417 ln -s ${base_bindir}/busybox $tmpdir/grep
418 ln -s ${base_bindir}/busybox $tmpdir/tail
418 export PATH=$PATH:$tmpdir 419 export PATH=$PATH:$tmpdir
419} 420}
420 421