summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Scherer <Konrad.Scherer@windriver.com>2014-10-06 09:50:12 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-06 16:02:18 +0100
commit3a8b8812ac1b9a724f11b2011f8ee3416ac3d4df (patch)
tree621103b097a75d7c9e14b462643e6533ec7a6bd6
parent9ef8728514b02dd2e18e87645298d9ec2e8a785a (diff)
downloadopenembedded-core-contrib-3a8b8812ac1b9a724f11b2011f8ee3416ac3d4df.tar.gz
openembedded-core-contrib-3a8b8812ac1b9a724f11b2011f8ee3416ac3d4df.tar.bz2
openembedded-core-contrib-3a8b8812ac1b9a724f11b2011f8ee3416ac3d4df.zip
linuxdoc-tools-native: Makedoc.sh uses /tmp and fails w/ noexec mount
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@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb4
1 files changed, 4 insertions, 0 deletions
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 ed6ab738a8..a8a90fc82e 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 'DESTDIR=${D}' 'TMPDIR=${T}' install
+}