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.

(From OE-Core rev: 3a8b8812ac1b9a724f11b2011f8ee3416ac3d4df)

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>
This commit is contained in:
Konrad Scherer 2014-10-06 09:50:12 -05:00 committed by Richard Purdie
parent 533a852edd
commit 8ef4dedbfd

View File

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