[OE-core] [PATCH 3/3] oeqa/runtime/utils/targetbuildproject: use parent classes defaults tmpdir
Joshua Lock
joshua.g.lock at intel.com
Wed Apr 5 12:10:55 UTC 2017
Rather than hard-coding the tmpdir for TargetBuildProject to /tmp allow the
parent's default handling to define an appropriate tmpdir.
Signed-off-by: Joshua Lock <joshua.g.lock at intel.com>
---
meta/lib/oeqa/runtime/utils/targetbuildproject.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/runtime/utils/targetbuildproject.py b/meta/lib/oeqa/runtime/utils/targetbuildproject.py
index 551b0b6..5af55d7 100644
--- a/meta/lib/oeqa/runtime/utils/targetbuildproject.py
+++ b/meta/lib/oeqa/runtime/utils/targetbuildproject.py
@@ -8,8 +8,7 @@ class TargetBuildProject(BuildProject):
def __init__(self, target, uri, foldername=None, dl_dir=None):
self.target = target
self.targetdir = "~/"
- BuildProject.__init__(self, uri, foldername, tmpdir="/tmp",
- dl_dir=dl_dir)
+ BuildProject.__init__(self, uri, foldername, dl_dir=dl_dir)
def download_archive(self):
self._download_archive()
--
2.9.3
More information about the Openembedded-core
mailing list