Patchwork [0/2] Fix TMPDIR usage in scripts v2

login
register
mail settings
Submitter Paul Eggleton
Date Sept. 28, 2011, 11:39 a.m.
Message ID <cover.1317209028.git.paul.eggleton@linux.intel.com>
Download mbox
Permalink /patch/12335/
State New, archived
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib paule/scripts-tmpdir

Comments

Paul Eggleton - Sept. 28, 2011, 11:39 a.m.
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(-)
Paul Eggleton - Sept. 28, 2011, 1:30 p.m.
On Wednesday 28 September 2011 12:39:39 Paul Eggleton wrote:
> 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.

So I missed yet another reference in classes/. Please disregard this version.

Cheers,
Paul