Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
af-main: Bump version GUPPY
[AGL/meta-agl.git]
/
meta-netboot
/
classes
/
netboot.bbclass
diff --git
a/meta-netboot/classes/netboot.bbclass
b/meta-netboot/classes/netboot.bbclass
index
5d5ccbb
..
363e6bc
100644
(file)
--- a/
meta-netboot/classes/netboot.bbclass
+++ b/
meta-netboot/classes/netboot.bbclass
@@
-1,10
+1,7
@@
# Enable network bootable image and initrd/initramfs
# Enable network bootable image and initrd/initramfs
-# add image classes for uboot
-IMAGE_CLASSES += "${@'image_types_uboot' if (d.getVar("KERNEL_IMAGETYPE", True) == "uImage") else ''}"
-
python () {
python () {
- if (bb.utils.contains
("IMAGE_FSTYPES","live",True,False,d) or bb.utils.contains("IMAGE_FSTYPES","vmdk"
,True,False,d)):
+ if (bb.utils.contains
_any("IMAGE_FSTYPES",["live","wic.vmdk"]
,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))
# typical case for Minnowboard Max
d.setVar("INITRD_IMAGE","initramfs-netboot-image")
d.setVar("INITRD_IMAGE_LIVE",d.getVar("INITRD_IMAGE",True))