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:
Joshua Lock 2017-04-05 13:10:55 +01:00 committed by Richard Purdie
parent fa2e536c44
commit 633ad6c9f4
1 changed files with 1 additions and 2 deletions

View File

@ -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()