[OE-core] [PATCH 02/11] oeqa/targetcontrol: create test directory before copying rootfs image
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 27 13:03:57 UTC 2015
The test directory might not exist at this point so just go ahead and
create it.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
meta/lib/oeqa/targetcontrol.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 60b09b2..beacdaf 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -143,6 +143,7 @@ class QemuTarget(BaseTarget):
def deploy(self):
try:
+ bb.utils.mkdirhier(self.testdir)
shutil.copyfile(self.origrootfs, self.rootfs)
except Exception as e:
bb.fatal("Error copying rootfs: %s" % e)
--
2.1.0
More information about the Openembedded-core
mailing list