From 8db6ddabd77f6839f77a67bf7093919df2f22004 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Wed, 22 Dec 2021 18:37:01 +0100 Subject: [PATCH] hardknott: image_types_digi: shorten VFAT label name It seems like the version of mkfs.vfat used in Yocto 3.3 has a label name length limit of 11 characters. All of the labels for our current platforms surpassed this limit ("Boot ccimxX" alone already occupies 11 characters), so replace the machine name with "DEY" Signed-off-by: Gabriel Valcazar --- meta-digi-arm/classes/image_types_digi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/classes/image_types_digi.bbclass b/meta-digi-arm/classes/image_types_digi.bbclass index fa93b4ce3..841bb663d 100644 --- a/meta-digi-arm/classes/image_types_digi.bbclass +++ b/meta-digi-arm/classes/image_types_digi.bbclass @@ -54,7 +54,7 @@ IMAGE_CMD_boot.vfat() { BOOTIMG_BLOCKS="$(expr \( \( ${BOOTIMG_BLOCKS} + 15 \) / 16 \) \* 16)" # Build VFAT boot image and copy files into it - mkfs.vfat -n "Boot ${MACHINE}" -S 512 -C ${IMGDEPLOYDIR}/${IMAGE_NAME}.boot.vfat ${BOOTIMG_BLOCKS} + mkfs.vfat -n "Boot DEY" -S 512 -C ${IMGDEPLOYDIR}/${IMAGE_NAME}.boot.vfat ${BOOTIMG_BLOCKS} mcopy -i ${IMGDEPLOYDIR}/${IMAGE_NAME}.boot.vfat ${BOOTIMG_FILES_SYMLINK} ::/ # Copy boot scripts into the VFAT image