]> code.ossystems Code Review - openembedded-core.git/commitdiff
linuxdoc-tools-native: Makedoc.sh uses /tmp and fails w/ noexec mount
authorKonrad Scherer <Konrad.Scherer@windriver.com>
Mon, 6 Oct 2014 14:50:12 +0000 (09:50 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Oct 2014 15:02:18 +0000 (16:02 +0100)
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>
meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb

index ed6ab738a89b4b76c9770c3042acfd97f6eb1c7e..a8a90fc82e6bb966af5e04a2d4577834b12cc10d 100644 (file)
@@ -19,3 +19,7 @@ inherit autotools-brokensep native
 do_configure () {
        oe_runconf
 }
+
+do_install() {
+       oe_runmake 'DESTDIR=${D}' 'TMPDIR=${T}' install
+}