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:03:13 +0000 (16:03 +0100)
commitc87faf5959f8b2caa2dba75bf04e5fe983b02028
treef17cb7cc6b66350494203d4e6d69506f2829eae1
parent80aa7d8403e5e350acc5dc01cbeb387ec75a4745
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>
meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb