1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

icecc-create-env: Add /bin/true to environment

icecream daemons execute /bin/true from the environment as a check to
determine if the environment is valid at all, so it needs to be
included.

(From OE-Core rev: c86aa6edab842c579177fe5c1f8647290b58fe61)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2018-02-12 10:52:00 -06:00
committed by Richard Purdie
parent 4a659dd584
commit 60ff32e38d
@@ -122,6 +122,16 @@ then
add_file $pluginfile /usr${pluginfile#*usr}
fi
# for testing the environment is usable at all
if test -x /bin/true; then
add_file /bin/true
elif test -x /usr/bin/true; then
add_file /usr/bin/true /bin/true
else
echo "'true' not found"
exit 1
fi
tempdir=`mktemp -d /tmp/iceccenvXXXXXX`
new_target_files=
for i in $target_files; do