]> code.ossystems Code Review - openembedded-core.git/commit
devtool: sdk-update: improve temp directory handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 22 Jan 2016 11:59:50 +0000 (00:59 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:56 +0000 (23:42 +0000)
commitbad5d1a8c047a8118d30d9fa708b021d1599e0dc
tree5d97092376c727bc7f239a7e5dddf06e0298b3c5
parent6579c7120ee5a541427ff5b6b07f838d52f9fe7c
devtool: sdk-update: improve temp directory handling

* Use tempfile.mkdtemp() instead of hardcoding temp dir
* Set a variable early for the temp locked sigs file and use that
  everywhere
* Delete the temp dir at the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/sdk.py