]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
busybox: ship a symlink farm for ptest
authorRoss Burton <ross.burton@intel.com>
Fri, 23 Nov 2018 02:16:31 +0000 (10:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Nov 2018 23:35:19 +0000 (23:35 +0000)
commitf72e95df33a528f7d00c152d55108ac850faf197
tree5cd071fa0fdd8ad2d8b87afea8dbb711bb77795b
parent41e772d72693d3fda4e7821a65ea96e2b873d96b
busybox: ship a symlink farm for ptest

Ship a symlink farm for busybox, which correctly considers SUID
split. This ensures that all utilities used in busybox's test cases
will first use that ones that are provided by busybox.

Modify run-ptest to prepend the directory to PATH, and also change
variable name from current_dir to current_path, as the former is
a little misleading. `readlink -f $0' gets a path to the current
script instead of the current directory.

(From OE-Core rev: 7ef8f96941ed52b2a00cbe8f57511a8891b39698)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/files/run-ptest