mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 04:57:15 +00:00
qemuboot: Add QB_RNG variable
RNG passthru has been enabled on all qemu machines but its being added to each one of them, with this patch its turned into QB variables which defaults to host passthru, yet it can be overridden if needed via machine or config metadata if needed. (From OE-Core rev: 26dd24506ef36088e17f999ce5489dc4b72194e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
6890a23a18
commit
b6b985a223
9 files changed
+5
-16
No files matched your search
+1
-1
@@ -1336,7 +1336,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" % (qemu_bin, self.get('NETWORK_CMD'), 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'))
|
||||
|
||||
for ovmf in self.ovmf_bios:
|
||||
format = ovmf.rsplit('.', 1)[-1]
|
||||
|
||||
Reference in new issue
Block a user