aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-12-11 13:34:02 +0800
committerRoss Burton <ross.burton@intel.com>2013-04-23 10:24:50 +0100
commitaede5db60c1e3111f34bda8ea4bb7e890ca77efc (patch)
tree74c05da29337ec1a950488ba5b9c685afdae33db
parent4026ea5f98ee34fff4f541d83aa85f929df37b3b (diff)
downloadopenembedded-core-aede5db60c1e3111f34bda8ea4bb7e890ca77efc.tar.gz
populate_sdk_base.bbclass: add execution permission for self-extracting archive
[ CQID: WIND00392947 ] It is not good user experience that the self-extracting archive (.sh file) has no execution permission by default. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/populate_sdk_base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 6eb6726033..a1c45ad70a 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -191,6 +191,9 @@ exit 0
MARKER:
EOF
+ # add execution permission
+ chmod +x ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
+
# append the SDK tarball
cat ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 >> ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh