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>
This commit is contained in:
parent
67a3807c4c
commit
69bae0651e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue