]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_base.bbclass: add execution permission for self-extracting archive
authorJackie Huang <jackie.huang@windriver.com>
Tue, 11 Dec 2012 05:34:02 +0000 (13:34 +0800)
committerRoss Burton <ross.burton@intel.com>
Tue, 23 Apr 2013 09:24:50 +0000 (10:24 +0100)
[ 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>
meta/classes/populate_sdk_base.bbclass

index 6eb6726033e636015675f195a45ed5289acf3d7f..a1c45ad70a3fc93135854479c905df01a2ce923a 100644 (file)
@@ -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