From 19aa2eca0c838d4270f7a990c8f95589c5c2ed78 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Wed, 2 Nov 2016 12:07:22 +0100 Subject: Generate OTA-enabled live image when building with agl-sota Bug-AGL: SPEC-307 Change-Id: I5ac3c3dad370545a33ce81071a4a15cdb261fa7a Signed-off-by: Anton Gerasimov --- templates/machine/porter/50_local.conf.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/machine') diff --git a/templates/machine/porter/50_local.conf.inc b/templates/machine/porter/50_local.conf.inc index b50fcf7c4..a0452973e 100644 --- a/templates/machine/porter/50_local.conf.inc +++ b/templates/machine/porter/50_local.conf.inc @@ -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)}" -- cgit 1.2.3-korg