summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/icecc-create-env
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-02-12 10:52:00 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-15 13:28:54 +0000
commit60ff32e38df02dc29aa161f922789b42f2ebb19c (patch)
treec24177f2f6066ad06588808c3b6fb44ad37b8010 /meta/recipes-devtools/icecc-create-env
parent4a659dd5846648f3c441409b109d46419fef77a4 (diff)
downloadpoky-60ff32e38df02dc29aa161f922789b42f2ebb19c.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. (From OE-Core rev: c86aa6edab842c579177fe5c1f8647290b58fe61) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/icecc-create-env')
-rwxr-xr-xmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env10
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
122 add_file $pluginfile /usr${pluginfile#*usr} 122 add_file $pluginfile /usr${pluginfile#*usr}
123fi 123fi
124 124
125# for testing the environment is usable at all
126if test -x /bin/true; then
127 add_file /bin/true
128elif test -x /usr/bin/true; then
129 add_file /usr/bin/true /bin/true
130else
131 echo "'true' not found"
132 exit 1
133fi
134
125tempdir=`mktemp -d /tmp/iceccenvXXXXXX` 135tempdir=`mktemp -d /tmp/iceccenvXXXXXX`
126new_target_files= 136new_target_files=
127for i in $target_files; do 137for i in $target_files; do