Add u-boot image class when sota feature is enabled 01/7001/1
authorAnton Gerasimov <anton@advancedtelematic.com>
Fri, 4 Nov 2016 11:08:46 +0000 (12:08 +0100)
committerAnton Gerasimov <anton@advancedtelematic.com>
Fri, 4 Nov 2016 11:08:46 +0000 (12:08 +0100)
Change-Id: I7ad6fc95f4252424ded09bc1d6d5ab18bf6733fd
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
templates/machine/porter-nogfx/50_local.conf.inc
templates/machine/porter/50_local.conf.inc
templates/machine/raspberrypi2/50_local.conf.inc
templates/machine/raspberrypi3/50_local.conf.inc

index 63f5fb7..6bc5171 100644 (file)
@@ -18,3 +18,11 @@ UBOOT_MACHINE = "porter_vin_config"
 
 PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
 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)}"
+
index a045297..7cae492 100644 (file)
@@ -189,5 +189,6 @@ DISTRO_FEATURES_append = " h264avcenc_lib"
 OSTREE_KERNEL = "uImage+dtb"
 
 # OTA-enabled live image
-IMAGE_CLASSES_append_sota = " sdcard_image-porter-ota"
+IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-porter-ota"
 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota  ', '', d)}"
+
index 827fa05..5b75257 100644 (file)
@@ -7,7 +7,7 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
 IMAGE_CLASSES += "sdcard_image-rpi-gdp"
 IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
-IMAGE_CLASSES_append_sota = " sdcard_image-rpi-ota"
+IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-rpi-ota"
 IMAGE_CLASSES_remove_sota = " sdcard_image-rpi-gdp"
 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', '', d)}"
 IMAGE_FSTYPES_remove_sota = "rpi-sdimg"
index 4668869..5309411 100644 (file)
@@ -7,7 +7,7 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
 IMAGE_CLASSES += "sdcard_image-rpi-gdp"
 IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
-IMAGE_CLASSES_append_sota = " sdcard_image-rpi-ota"
+IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-rpi-ota"
 IMAGE_CLASSES_remove_sota = " sdcard_image-rpi-gdp"
 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota  ', '', d)}"
 IMAGE_FSTYPES_remove_sota = "rpi-sdimg"