]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Feb 2013 14:46:12 +0000 (14:46 +0000)
[ 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 c587af8fdb287a95ce3f0decc04d1503f137b8c6..c025d4083c741bc0ba90b0668d07060ef096d24b 100644 (file)
@@ -257,6 +257,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