scripts: mkbootimg_rpi3.sh: Fix to set volume name of boot.img
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 4 Apr 2018 01:28:27 +0000 (10:28 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:01 +0000 (13:09 +0900)
There is no fixed volume name of boot.img made by script. Like
release image, fix to set volume name.

Change-Id: If8372a3ea48d4d655d7132e6ee6bc965e2d3174d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/mkbootimg_rpi3.sh

index 3f365f4..722beac 100755 (executable)
@@ -9,7 +9,7 @@ rm -rf tmp
 mkdir tmp
 
 # Create boot.img
-mkfs.vfat -F 16 -C boot.img 65536
+mkfs.vfat -F 16 -C -n BOOT boot.img 65536
 sudo mount -o loop,uid=$USER_ID,gid=$GROUP_ID,showexec boot.img ./tmp
 cp -a $BOOT_PATH/config_64bit.txt ./tmp/config.txt
 cp -a $BOOT_PATH/LICENCE.broadcom ./tmp