Fix for image format dependencies during parsing 49/10049/2 3.99.2 dab/3.99.2 dab_3.99.2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 5 Jul 2017 15:21:03 +0000 (17:21 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 5 Jul 2017 17:15:29 +0000 (17:15 +0000)
commit0c484021acec08398da9781beb94d90bf2e8caaf
tree03ab3e66f7412ebf48052a3441bc27043a26c7b2
parent04001fcf1ac53d9a590fa4b8ac3167a36157b8c4
Fix for image format dependencies during parsing

local.conf is evaluated first before the distro configuration. This caused issues while parsing the
IMAGE_FSTYPES. The same set of IMAGE_FSTYPES did not throw the same switches deep in the other recipes.

We define
AGL_EXTRA_IMAGE_FSTYPES and AGL_EXTRA_INITRAMFS_FSTYPES for use in conf/local.conf or the device templates
which are added early on-top of the defaults:

AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ext4.xz"   (tar.xz for direct use, ext4.xz for direct use and CI)
AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz" (format for initramfs/initrd with smack labels)

Both sets can be overridden in the device configuration / template.

Device templates have been adapted accordingly.

Bug-AGL: SPEC-492

Change-Id: I962ee8cc461b307b494d13ce3a3ebca154bebc86
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10049
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
meta-agl-bsp/conf/include/agl_beaglebone.inc
meta-agl-bsp/conf/include/agl_cyclone5.inc
meta-agl-bsp/conf/include/agl_intel-corei7-64.inc
meta-agl-bsp/conf/include/agl_joule.inc
meta-agl-bsp/conf/include/agl_raspberrypi2.inc
meta-agl-bsp/conf/include/agl_raspberrypi3-64.inc
meta-agl-bsp/conf/include/agl_raspberrypi3.inc
meta-agl-distro/conf/distro/poky-agl.conf