summaryrefslogtreecommitdiffstats
path: root/scripts/oe-find-native-sysroot
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-06-06 13:59:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-25 17:44:51 +0100
commit726483741a69861a2b4adc3186a39de227a353a1 (patch)
tree9815ad3679f2568510ec7c1b26ad6f0cc151f6d7 /scripts/oe-find-native-sysroot
parent6984890b2eef1da8d901f9f5b916f8762f6bd050 (diff)
downloadopenembedded-core-contrib-726483741a69861a2b4adc3186a39de227a353a1.tar.gz
busybox: add support for CONFIG_FEATURE_INDIVIDUAL
Previously, if CONFIG_FEATURE_INDIVIDUAL was enabled for busybox, yocto-based systems could start correctly. This is because if busybox is built as individual apps, '/bin/busybox' may not be present, so setting the default ALTERNATIVE_TARGET to '/bin/busybox' is not appropriate and could lead to errors. This patch fixes this problem by checking the existence of '/bin/busybox' before setting the ALTERNATIVE_TARGET to '/bin/busybox'. After this change, if busybox is built as individual apps, we'll have links like '/bin/ls -> /bin/ls.busybox', otherwise, we'll have links like '/bin/ls -> /bin/busybox'. Note there's a grep expression change in this patch. The old expression doesn't work well, it has an unwanted underscore, so I changed it to make it work. [YOCTO #4570] (From OE-Core rev: 87efa83191f0b4f4cec3a821b6dfe425c781c077) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-find-native-sysroot')
0 files changed, 0 insertions, 0 deletions