Apologies to docs and bitbake mailing list for the unnecessary noise On Wed, Oct 13, 2021 at 10:36 AM Jon Mason <jdma...@kudzu.us> wrote: > > Add the ability to replace DEPLOY_DIR_IMAGE with that path in > QB_OPT_APPEND. This allows for anything present in DEPLOY_DIR_IMAGE to > be passed into the qemu parameters. This is especially useful if you > want to run multiple flash images (as -bios only allows for one). > > Signed-off-by: Jon Mason <jdma...@kudzu.us> > --- > scripts/runqemu | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/runqemu b/scripts/runqemu > index 3268bb18ada6..54f2336ba977 100755 > --- a/scripts/runqemu > +++ b/scripts/runqemu > @@ -1412,7 +1412,7 @@ class BaseConfig(object): > if not os.access(qemu_bin, os.X_OK): > raise OEPathError("No QEMU binary '%s' could be found" % > qemu_bin) > > - self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, > self.get('NETWORK_CMD'), self.get('QB_RNG'), self.get('ROOTFS_OPTIONS'), > self.get('QB_OPT_APPEND')) > + self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, > self.get('NETWORK_CMD'), self.get('QB_RNG'), self.get('ROOTFS_OPTIONS'), > self.get('QB_OPT_APPEND').replace('@DEPLOY_DIR_IMAGE@', > self.get('DEPLOY_DIR_IMAGE'))) > > for ovmf in self.ovmf_bios: > format = ovmf.rsplit('.', 1)[-1] > -- > 2.20.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156915): https://lists.openembedded.org/g/openembedded-core/message/156915 Mute This Topic: https://lists.openembedded.org/mt/86289366/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-