[oe-commits] Jackie Huang : populate_sdk_base.bbclass: add execution permission for self-extracting archive
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 23 12:00:30 UTC 2013
Module: openembedded-core.git
Branch: danny
Commit: aede5db60c1e3111f34bda8ea4bb7e890ca77efc
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aede5db60c1e3111f34bda8ea4bb7e890ca77efc
Author: Jackie Huang <jackie.huang at windriver.com>
Date: Tue Dec 11 13:34:02 2012 +0800
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 at windriver.com>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
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 6eb6726..a1c45ad 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
More information about the Openembedded-commits
mailing list