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:46:12 +0000 |
commit | 3d6537f6ab1ce98075461b9a5d49885c2454417f (patch) | |
tree | 71f61c6e63af6b1359fb86290727d0ed13872a3a /meta/classes | |
parent | 18e3654894175af0f51049cf2dcf42295bfbc905 (diff) | |
download | openembedded-core-3d6537f6ab1ce98075461b9a5d49885c2454417f.tar.gz openembedded-core-3d6537f6ab1ce98075461b9a5d49885c2454417f.tar.bz2 openembedded-core-3d6537f6ab1ce98075461b9a5d49885c2454417f.zip |
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>
Diffstat (limited to 'meta/classes')
-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 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 |