summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemutinyrunner.py
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-03-28 10:02:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-28 10:34:37 +0100
commit9a94208600fbc852304cd99e2d1fa787caf9b0fa (patch)
treecb6c75e1cbbae98978a9bf81862edf1be8cc4965 /meta/lib/oeqa/utils/qemutinyrunner.py
parent41b67f1176fd923ff7d61f63a95325a1482bf579 (diff)
downloadpoky-9a94208600fbc852304cd99e2d1fa787caf9b0fa.tar.gz
oeqa: allow customizing image used by runqemu()
runqemu() takes all parameters for the virtual machine from the variables of the given recipe. By allowing the caller to provide a hash with variables that get applied locally, the caller gets more control. Here's the intended usage: <prepare internal-image in self.resultdir> overrides = { 'DEPLOY_DIR_IMAGE': self.resultdir, 'IMAGE_LINK_NAME': 'internal-image-%s' % self.image_arch, } with runqemu('refkit-installer-image', ssh=False, overrides=overrides) as qemu: .... This can be used to replace the image completely with something else or to copy it before allowing runqemu() to write into it. (From OE-Core rev: 4c6ba32abd6b9de33f4b8a0b87e8a56432ed7825) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/qemutinyrunner.py')
0 files changed, 0 insertions, 0 deletions