Add u-boot image class when sota feature is enabled
[AGL/meta-agl.git] / templates / machine / porter-nogfx / 50_local.conf.inc
index 63f5fb7..6bc5171 100644 (file)
@@ -18,3 +18,11 @@ UBOOT_MACHINE = "porter_vin_config"
 
 PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
 PREFERRED_PROVIDER_virtual/egl = "mesa"
+
+# Commit united image to OSTree, not just uImage
+OSTREE_KERNEL = "uImage+dtb"
+
+# OTA-enabled live image
+IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-porter-ota"
+IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota  ', '', d)}"
+