mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +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:
committed by
Richard Purdie
parent
4a659dd584
commit
60ff32e38d
@@ -122,6 +122,16 @@ then
|
|||||||
add_file $pluginfile /usr${pluginfile#*usr}
|
add_file $pluginfile /usr${pluginfile#*usr}
|
||||||
fi
|
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`
|
tempdir=`mktemp -d /tmp/iceccenvXXXXXX`
|
||||||
new_target_files=
|
new_target_files=
|
||||||
for i in $target_files; do
|
for i in $target_files; do
|
||||||
|
|||||||
Reference in New Issue
Block a user