summaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-11-02 12:07:22 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-04 10:46:22 +0000
commit19aa2eca0c838d4270f7a990c8f95589c5c2ed78 (patch)
treec016c81f7ecb57d535150b4d636ae49c21672da8 /templates/machine
parent89d69530421ae87ca3cca49f9b22a9d44a4d9e59 (diff)
Generate OTA-enabled live image when building with agl-sota
Bug-AGL: SPEC-307 Change-Id: I5ac3c3dad370545a33ce81071a4a15cdb261fa7a Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'templates/machine')
-rw-r--r--templates/machine/porter/50_local.conf.inc4
1 files changed, 4 insertions, 0 deletions
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)}"