[oe-commits] Konrad Scherer : Makedoc.sh uses home /tmp and fails is noexec is set

git at git.openembedded.org git at git.openembedded.org
Sat Oct 4 22:37:05 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: c594b786de031b53ffdc0b0c66a1a65c9efad66b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c594b786de031b53ffdc0b0c66a1a65c9efad66b

Author: Konrad Scherer <Konrad.Scherer at windriver.com>
Date:   Thu Oct  2 15:14:50 2014 -0400

Makedoc.sh uses home /tmp and fails is noexec is set

The Makedoc.sh script uses the following line to set TMPDIR

export TMPDIR=`mktemp -d ${TMPDIR:-/tmp}/ldt.XXXXXXXXXX`;

and then later in the script:

chmod u+x $TMPDIR/linuxdoc

Since TMPDIR is not set the script will default to /tmp and if /tmp
is set to noexec (which is becoming more common), the chmod call fails.

Signed-off-by: Konrad Scherer <Konrad.Scherer at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb
index ed6ab73..9bd2bba 100644
--- a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb
+++ b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb
@@ -19,3 +19,7 @@ inherit autotools-brokensep native
 do_configure () {
 	oe_runconf
 }
+
+do_install() {
+	oe_runmake TMPDIR=${T} install
+}



More information about the Openembedded-commits mailing list