From cc43f8cd6e46a1e7261bb3bf88eed28130876b07 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Thu, 8 Apr 2021 00:21:34 +0100 Subject: [PATCH] st-image-partitions.inc: Avoid noisy warning for empty partitions Partitions like vendorfs can be in many cases empty due to not deploying package targeting that specific partition - see gcnano-userland-multi-binary-stm32mp as an example. Having a warning for use-cases that are both common but also valid, would just result in build noise. This change switches to build notes for flagging an empty partition. Change-Id: Iade087b9171dabfaebd498aa13672d2e2f497349 Signed-off-by: Andrei Gherzan --- recipes-st/images/st-image-partitions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-st/images/st-image-partitions.inc b/recipes-st/images/st-image-partitions.inc index b4ff297..2da7d11 100644 --- a/recipes-st/images/st-image-partitions.inc +++ b/recipes-st/images/st-image-partitions.inc @@ -62,6 +62,6 @@ reformat_rootfs() { TARGETROOTFS=$(dirname ${TARGETROOTFS}) done else - bbwarn "${IMAGE_PARTITION_MOUNTPOINT} folder not available in rootfs folder, no reformat done..." + bbnote "${IMAGE_PARTITION_MOUNTPOINT} folder not available in rootfs folder, no reformat done..." fi }