summaryrefslogtreecommitdiff
path: root/scripts/lib/recipetool/create_kmod.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-12-03 20:35:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-06 10:19:48 +0000
commit6e2c6668791a80ee0ffe44c756cc0caceebea0e2 (patch)
treebbac03ab4a7df6e763cdedda3e58e193fcd4a2af /scripts/lib/recipetool/create_kmod.py
parent11d4bf460030eb6f072bd0e15550e26e055e632b (diff)
downloadopenembedded-core-6e2c6668791a80ee0ffe44c756cc0caceebea0e2.tar.gz
openembedded-core-6e2c6668791a80ee0ffe44c756cc0caceebea0e2.tar.bz2
openembedded-core-6e2c6668791a80ee0ffe44c756cc0caceebea0e2.zip
oeqa: don't litter /tmp with temporary directories
If we need to create a temporary directory in targetbuild or buildproject use tempfile.TemporaryDirectory so that when the test case is finished, the directory is deleted. Also synchronise the logic and don't possibly store the temporary directory in self.tmpdir as nothing uses that. (From OE-Core rev: db0e658097130d146752785d0d45f46a3e0bad71) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_kmod.py')
0 files changed, 0 insertions, 0 deletions