diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-04-05 13:10:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-06 10:13:39 +0100 |
commit | 633ad6c9f436f5d2b6ee1a005b697661a054a394 (patch) | |
tree | c413e32c118d88d9eb7da94594fee3f96784a738 /meta | |
parent | fa2e536c441218cca09f51c514de9799f76ef9cb (diff) | |
download | poky-633ad6c9f436f5d2b6ee1a005b697661a054a394.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/utils/targetbuildproject.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/utils/targetbuildproject.py b/meta/lib/oeqa/runtime/utils/targetbuildproject.py index 551b0b6f27..5af55d736e 100644 --- a/meta/lib/oeqa/runtime/utils/targetbuildproject.py +++ b/meta/lib/oeqa/runtime/utils/targetbuildproject.py | |||
@@ -8,8 +8,7 @@ class TargetBuildProject(BuildProject): | |||
8 | def __init__(self, target, uri, foldername=None, dl_dir=None): | 8 | def __init__(self, target, uri, foldername=None, dl_dir=None): |
9 | self.target = target | 9 | self.target = target |
10 | self.targetdir = "~/" | 10 | self.targetdir = "~/" |
11 | BuildProject.__init__(self, uri, foldername, tmpdir="/tmp", | 11 | BuildProject.__init__(self, uri, foldername, dl_dir=dl_dir) |
12 | dl_dir=dl_dir) | ||
13 | 12 | ||
14 | def download_archive(self): | 13 | def download_archive(self): |
15 | self._download_archive() | 14 | self._download_archive() |