summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-07-27 14:03:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 23:29:14 +0100
commit69bae0651e393cd5fe4fd196c4d60f4609aef05f (patch)
tree521cb173c2a432281fa486516b65e8a97af6e3dd /meta/lib/oeqa/targetcontrol.py
parent67a3807c4cccc6b258e2e82038f3cdce453e709b (diff)
downloadpoky-69bae0651e393cd5fe4fd196c4d60f4609aef05f.tar.gz
oeqa/targetcontrol: create test directory before copying rootfs image
The test directory might not exist at this point so just go ahead and create it. (From OE-Core rev: 7ef86ce62b52f0f3d0c51e3c20d7b4f37025bf41) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r--meta/lib/oeqa/targetcontrol.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 60b09b2cb2..beacdaf34a 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -143,6 +143,7 @@ class QemuTarget(BaseTarget):
143 143
144 def deploy(self): 144 def deploy(self):
145 try: 145 try:
146 bb.utils.mkdirhier(self.testdir)
146 shutil.copyfile(self.origrootfs, self.rootfs) 147 shutil.copyfile(self.origrootfs, self.rootfs)
147 except Exception as e: 148 except Exception as e:
148 bb.fatal("Error copying rootfs: %s" % e) 149 bb.fatal("Error copying rootfs: %s" % e)