]> code.ossystems Code Review - openembedded-core.git/commit
scripts/poky-qemu: Improve tmp layout assumption
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 15 Dec 2010 23:22:16 +0000 (23:22 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 15 Dec 2010 23:22:16 +0000 (23:22 +0000)
commite497b89cf3325d82fb2f96df92af019c7d487a09
tree6b9fa1153ee41c950e1f95ac2e7540f7c86737f4
parentbb783afd4daa3f57fb26e2bb86f5bc9cbeb11df0
scripts/poky-qemu: Improve tmp layout assumption

If someone has changed TMPDIR in local.conf to a non-standard location, the
poky-qemu script currently doesn't handle this and assumes if BUILDDIR is set,
$BUILDDIR/tmp will exist.

Its simple to check if this exists and if not, to ask bitbake where the
directory is so this patch changes the code to do that.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
scripts/poky-qemu