oeqa/runtime/utils/targetbuildproject: use parent classes defaults tmpdir
Rather than hard-coding the tmpdir for TargetBuildProject to /tmp allow the parent's default handling to define an appropriate tmpdir. (From OE-Core rev: 901659a51cd53625a93f57a9c5865e90a07ec09d) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fa2e536c44
commit
633ad6c9f4
|
@ -8,8 +8,7 @@ class TargetBuildProject(BuildProject):
|
||||||
def __init__(self, target, uri, foldername=None, dl_dir=None):
|
def __init__(self, target, uri, foldername=None, dl_dir=None):
|
||||||
self.target = target
|
self.target = target
|
||||||
self.targetdir = "~/"
|
self.targetdir = "~/"
|
||||||
BuildProject.__init__(self, uri, foldername, tmpdir="/tmp",
|
BuildProject.__init__(self, uri, foldername, dl_dir=dl_dir)
|
||||||
dl_dir=dl_dir)
|
|
||||||
|
|
||||||
def download_archive(self):
|
def download_archive(self):
|
||||||
self._download_archive()
|
self._download_archive()
|
||||||
|
|
Loading…
Reference in New Issue