Add porter-bootfiles to dependencies when agl-sota is enabled
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_porter-nogfx.inc
index 6bc5171..2a06bbe 100644 (file)
@@ -22,7 +22,8 @@ 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)}"
+EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles"
+IMAGE_CLASSES_append_sota = " image_types_uboot "
+IMAGE_BOOT_FILES_sota = "porter-bootfiles/*"
 
+OSTREE_BOOTLOADER ?= "u-boot"