diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2012-12-11 13:34:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-08 14:50:36 +0000 |
commit | fa6c12da8c7cfff2f1e4e578345185e0d2ebdafb (patch) | |
tree | aa729969b7d84d1b881b0c42c1584f75e6e89941 /meta/classes/populate_sdk_base.bbclass | |
parent | 82b2679d2ce8ee7a89ba0fc0757c33c15d680df4 (diff) | |
download | poky-fa6c12da8c7cfff2f1e4e578345185e0d2ebdafb.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.
(From OE-Core rev: 3d6537f6ab1ce98075461b9a5d49885c2454417f)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index c587af8fdb..c025d4083c 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -257,6 +257,9 @@ exit 0 | |||
257 | 257 | ||
258 | MARKER: | 258 | MARKER: |
259 | EOF | 259 | EOF |
260 | # add execution permission | ||
261 | chmod +x ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh | ||
262 | |||
260 | # append the SDK tarball | 263 | # append the SDK tarball |
261 | cat ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 >> ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh | 264 | cat ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 >> ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh |
262 | 265 | ||