summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-02-20 11:00:49 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-03-27 10:11:51 +0000
commita29f0388d7d3c84b5a41f307060fddf963078e24 (patch)
treedf32bde745116879673d5555b887f440ec0c67cf /meta-agl-bsp/conf/include
parent091b39560ec03248f7836f79e66406989fdaedfa (diff)
Add OTA wks support to Porter and RCar-M3 boards
Bug-AGL: SPEC-413 Change-Id: I4ef71fde4a013c1dac4917f66727ce4b6be4170c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-agl-bsp/conf/include')
-rw-r--r--meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc3
-rw-r--r--meta-agl-bsp/conf/include/agl_m3ulcb.inc3
-rw-r--r--meta-agl-bsp/conf/include/agl_porter-nogfx.inc5
-rw-r--r--meta-agl-bsp/conf/include/agl_porter.inc5
4 files changed, 10 insertions, 6 deletions
diff --git a/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc b/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
index 35ed8ba43..d67be93c5 100644
--- a/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
+++ b/meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
@@ -10,3 +10,6 @@ BBMASK = "gles-user-module|kernel-module-gles|wayland-kms|libgbm"
BBMASK .= "|kernel-module-uvcs-drv|omx-user-module"
BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"
+
+OSTREE_KERNEL = "Image"
+IMAGE_BOOT_FILES_sota = "m3ulcb-ota-bootfiles/* Image-r8a7796-m3ulcb.dtb"
diff --git a/meta-agl-bsp/conf/include/agl_m3ulcb.inc b/meta-agl-bsp/conf/include/agl_m3ulcb.inc
index 90e029287..de59df113 100644
--- a/meta-agl-bsp/conf/include/agl_m3ulcb.inc
+++ b/meta-agl-bsp/conf/include/agl_m3ulcb.inc
@@ -47,3 +47,6 @@ IMAGE_INSTALL_append_rcar-gen3 = " \
"
BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"
+
+OSTREE_KERNEL = "Image"
+IMAGE_BOOT_FILES_sota = "m3ulcb-ota-bootfiles/* Image-r8a7796-m3ulcb.dtb"
diff --git a/meta-agl-bsp/conf/include/agl_porter-nogfx.inc b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
index 6bc517191..dd2ab85ae 100644
--- a/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
+++ b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
@@ -22,7 +22,6 @@ 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)}"
+IMAGE_CLASSES_append_sota = " image_types_uboot "
+IMAGE_BOOT_FILES_sota = "porter-bootfiles/*"
diff --git a/meta-agl-bsp/conf/include/agl_porter.inc b/meta-agl-bsp/conf/include/agl_porter.inc
index a3f2aac5a..4837ced8d 100644
--- a/meta-agl-bsp/conf/include/agl_porter.inc
+++ b/meta-agl-bsp/conf/include/agl_porter.inc
@@ -182,7 +182,6 @@ 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 = " image_types_uboot sdcard_image-porter-ota"
-IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota ', '', d)}"
+IMAGE_CLASSES_append_sota = " image_types_uboot "
+IMAGE_BOOT_FILES_sota = "porter-bootfiles/*"