diff options
Diffstat (limited to 'external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py')
-rw-r--r-- | external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py b/external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py index 5af55d73..f4f4816a 100644 --- a/external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py +++ b/external/poky/meta/lib/oeqa/runtime/utils/targetbuildproject.py @@ -1,5 +1,8 @@ +# # Copyright (C) 2016 Intel Corporation -# Released under the MIT license (see COPYING.MIT) +# +# SPDX-License-Identifier: MIT +# from oeqa.utils.buildproject import BuildProject @@ -7,10 +10,12 @@ class TargetBuildProject(BuildProject): def __init__(self, target, uri, foldername=None, dl_dir=None): self.target = target - self.targetdir = "~/" + self.targetdir = "~/buildtest/" BuildProject.__init__(self, uri, foldername, dl_dir=dl_dir) def download_archive(self): + self.target.run("mkdir " + self.targetdir + " || true") + self._download_archive() status, output = self.target.copyTo(self.localarchive, self.targetdir) |