From 60ff32e38df02dc29aa161f922789b42f2ebb19c Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Mon, 12 Feb 2018 10:52:00 -0600 Subject: 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 Signed-off-by: Richard Purdie --- .../icecc-create-env/icecc-create-env/icecc-create-env | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3-54-g00ecf