diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-02-12 10:52:00 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-15 13:20:27 +0000 |
commit | c86aa6edab842c579177fe5c1f8647290b58fe61 (patch) | |
tree | f8e4077a16bdf42c5fb5ea5b612662080214f4a9 /meta/recipes-devtools | |
parent | 884c2436a6dbcb6bff99409a80276b9ef5690875 (diff) | |
download | openembedded-core-contrib-c86aa6edab842c579177fe5c1f8647290b58fe61.tar.gz |
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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rwxr-xr-x | meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env index 723f1f9bd9..c838256f74 100755 --- a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env +++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env @@ -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 |