summaryrefslogtreecommitdiffstats
path: root/meta-netboot
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2019-11-10 00:39:42 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-12-03 15:09:19 +0000
commit2fa5dae62868c63781568eeb5435ed3296c2ddc2 (patch)
treea18cfd9ea20e61b3093b4d1ca6d9ad850dab96eb /meta-netboot
parent11a613bab398e60d8a9da1eb0d6c4c754fd8bfef (diff)
Extend intel-corei7-64 machine to support virtual targets
These changes allow images built for the intel-corei7-64 machine to be booted under qemu (by using the normal `runqemu` command) and vmware or virtualbox after a build. Functionality on real hardware should not be compromised. Bug-AGL: SPEC-2931 Change-Id: If25782bf59e145cab32a4c9a0e39b599106ce7cc Signed-off-by: Paul Barker <pbarker@konsulko.com>
Diffstat (limited to 'meta-netboot')
-rw-r--r--meta-netboot/classes/netboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-netboot/classes/netboot.bbclass b/meta-netboot/classes/netboot.bbclass
index 85a0ead01..63369285f 100644
--- a/meta-netboot/classes/netboot.bbclass
+++ b/meta-netboot/classes/netboot.bbclass
@@ -1,7 +1,7 @@
# Enable network bootable image and initrd/initramfs
python () {
- if (bb.utils.contains_any("IMAGE_FSTYPES",["live","wic.vmdk"],True,False,d)):
+ if (bb.utils.contains("IMAGE_FSTYPES","live",True,False,d)):
# typical case for Minnowboard Max
d.setVar("INITRD_IMAGE","initramfs-netboot-image")
d.setVar("INITRD_IMAGE_LIVE",d.getVar("INITRD_IMAGE",True))