Do not use cpio.gz for initramfs as smack does not work 11/10711/3
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 28 Aug 2017 20:50:19 +0000 (22:50 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 29 Aug 2017 19:06:05 +0000 (19:06 +0000)
This changeset removes the wrong hardcoded INITRAMFS_FSTYPES on 3 boards.
It was moved over from the previous defaults prior to the change
to the AGL-wide default FSTYPES.

The correct image to use is ext4.gz (which is a default in poky-agl.conf) -
thus we can just remove these in the board includes.

Therefore the intel targets need to define INITRD_LIVE.

Bug-AGL: SPEC-836

Change-Id: If45f67d2bbd02331f1aea848e3230ce1e190c50d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10711
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_intel-corei7-64.inc
meta-agl-bsp/conf/include/agl_joule.inc
meta-agl-bsp/conf/include/agl_nitrogen6x.inc

index 069dbea..299568f 100644 (file)
@@ -25,5 +25,5 @@ IMAGE_INSTALL_append = " \
         gstreamer-vaapi-1.0 "
 
 AGL_DEFAULT_IMAGE_FSTYPES := "wic hddimg"
-AGL_DEFAULT_INITRAMFS_FSTYPES := "cpio.gz"
+INITRD_LIVE = "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.ext4.gz"
 NOISO = "1"
index 9f4e79b..246e47f 100644 (file)
@@ -11,5 +11,5 @@ IMAGE_INSTALL_append = " \
 OSTREE_BOOTLOADER ?= "u-boot"
 
 AGL_DEFAULT_IMAGE_FSTYPES := "wic hddimg"
-AGL_DEFAULT_INITRAMFS_FSTYPES := "cpio.gz"
+INITRD_LIVE = "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.ext4.gz"
 NOISO = "1"
index 68ff823..a85354a 100644 (file)
@@ -3,4 +3,3 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx6"
 PREFERRED_PROVIDER_u-boot-mxsboot-native = "u-boot-imx6"
 
 AGL_DEFAULT_IMAGE_FSTYPES := "sdcard.gz"
-AGL_DEFAULT_INITRAMFS_FSTYPES := "cpio.gz"
\ No newline at end of file