From: Otavio Salvador Date: Thu, 5 Oct 2017 18:43:34 +0000 (-0300) Subject: image_types_fsl.bbclass: Add deprecation warning X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c808544ec53e3434f4e254f456772dc621ca3014;p=meta-freescale.git 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 --- 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