From: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Date: Thu, 12 Jan 2017 21:02:46 +0000 (+0100)
Subject: Define IMAGE_FSTYPES for rpi targets
X-Git-Tag: 3.99.1~203
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=14eef4fcbe87a18e946015202deb4859be9b5293;p=AGL%2Fmeta-agl.git

Define IMAGE_FSTYPES for rpi targets

Do use our target filesystem types instead of the
defaults in meta-raspberrypi.

Change-Id: If92013a5a55208f4f644f5c2b239e0052ce370c8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
---

diff --git a/templates/machine/raspberrypi2/50_local.conf.inc b/templates/machine/raspberrypi2/50_local.conf.inc
index 5543e8465..6c74f8203 100644
--- a/templates/machine/raspberrypi2/50_local.conf.inc
+++ b/templates/machine/raspberrypi2/50_local.conf.inc
@@ -33,6 +33,7 @@ IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'image_type
 # normal image is rpi-sdimg, for sota it is rpi-sdimg-ota
 #IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}"
 ### both rpi-sdimg and rpi-sdimg-ota broken
+IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"
 
 KERNEL_IMAGETYPE_sota = "uImage"
 PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot"
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index e7f932d9b..a3df1be18 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -33,6 +33,7 @@ IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'image_type
 # normal image is rpi-sdimg, for sota it is rpi-sdimg-ota
 #IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}"
 ### both rpi-sdimg and rpi-sdimg-ota broken
+IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"
 
 KERNEL_IMAGETYPE_sota = "uImage"
 PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot"