Generate OTA-enabled live image when building with agl-sota 73/6973/2
authorAnton Gerasimov <anton@advancedtelematic.com>
Wed, 2 Nov 2016 11:07:22 +0000 (12:07 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 4 Nov 2016 10:46:22 +0000 (10:46 +0000)
Bug-AGL: SPEC-307

Change-Id: I5ac3c3dad370545a33ce81071a4a15cdb261fa7a
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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)}"