Generate OTA-enabled live image when building with agl-sota
[AGL/meta-agl.git] / templates / machine / porter / 50_local.conf.inc
index b50fcf7..a045297 100644 (file)
@@ -187,3 +187,7 @@ DISTRO_FEATURES_append = " h264avcenc_lib"
 
 # Commit united image to OSTree, not just uImage
 OSTREE_KERNEL = "uImage+dtb"
+
+# OTA-enabled live image
+IMAGE_CLASSES_append_sota = " sdcard_image-porter-ota"
+IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota  ', '', d)}"