From 69bae0651e393cd5fe4fd196c4d60f4609aef05f Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 27 Jul 2015 14:03:57 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/targetcontrol.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib') 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): 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) -- cgit v1.2.3-54-g00ecf