From: Jackie Huang Date: Tue, 11 Dec 2012 05:34:02 +0000 (+0800) Subject: populate_sdk_base.bbclass: add execution permission for self-extracting archive X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=aede5db60c1e3111f34bda8ea4bb7e890ca77efc;p=openembedded-core.git 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 Signed-off-by: Robert Yang Signed-off-by: Mark Hatle Signed-off-by: Saul Wold --- 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