[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5510/8267] oeqa/runtime/utils/targetbuildproject: use parent classes defaults tmpdir



commit 633ad6c9f436f5d2b6ee1a005b697661a054a394
Author: Joshua Lock <joshua g lock intel com>
Date:   Wed Apr 5 13:10:55 2017 +0100

    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>

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]