]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox.inc: add tail symlink so busybox can commit suicide cleanly
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>
Tue, 1 Mar 2016 23:16:17 +0000 (17:16 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:54:36 +0000 (16:54 +0000)
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>
meta/recipes-core/busybox/busybox.inc

index 4827d08215241c853e4aa3356e20ac47c4cb7a2b..5e91a263ddf96d878d31d99d35829cd5647af53e 100644 (file)
@@ -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
 }