From c808544ec53e3434f4e254f456772dc621ca3014 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 5 Oct 2017 15:43:34 -0300 Subject: [PATCH] image_types_fsl.bbclass: Add deprecation warning This adds a deprecation warning when using the 'sdcard' image format. We are supporting 'wic' for all SoCs and the conversion is straightforward. This 'sdcard' image format will be removed for next release. Signed-off-by: Otavio Salvador --- classes/image_types_fsl.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 91b6c4e5..dadbd734 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass @@ -311,6 +311,8 @@ generate_mxs_sdcard () { } IMAGE_CMD_sdcard () { + bbwarn "The '${MACHINE}' is using the i.MX 'sdcard' image format which is deprecated. This image type is going to be removed in next release so please convert this machine to use the wic tool" + if [ -z "${SDCARD_ROOTFS}" ]; then bberror "SDCARD_ROOTFS is undefined. To use sdcard image from Freescale's BSP it needs to be defined." exit 1 -- 2.40.1