Skip to content

Fix TMPDIR usage in scripts v2

Paul Eggleton openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scripts: use OE_TMPDIR instead of TMPDIR external variablescripts/oe-setup-rpmrepo scripts/qemuimage-testlib scripts/runqemu+15 -40 replies
2/2scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemuscripts/oe-setup-rpmrepo+14 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix TMPDIR usage in scripts v2

Fix TMPDIR external environment variable usage within our scripts which is a problem on OpenSUSE within an X session (see Yocto bug #1530) by using OE_TMPDIR from the external environment instead.

Note that this will require changes to autobuilder scripts that use a TMPDIR environment variable when calling these scripts - they should now set OE_TMPDIR instead (if versions with and without this change need to be run on the same system, then setting both variables will cause no harm).

Since v1, also fix pass-through references to TMPDIR in the qemuimage-testlib script.

The following changes since commit e0908b7b080c0d861a1b3ccb2185b9281b10fa1a:

tables: remove it as obsolete recipe (2011-09-28 11:47:24 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/scripts-tmpdir
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/scripts-tmpdir

Paul Eggleton (2):
scripts: use OE_TMPDIR instead of TMPDIR external variable scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu

 scripts/oe-setup-rpmrepo  |   35 +++++++++++++++++++++--------------
 scripts/qemuimage-testlib |    4 ++--
 scripts/runqemu           |    7 ++++++-
 3 files changed, 29 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.4.1