mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-07 03:11:59 +00:00
sdcard_image bbclass: make VFAT partition name overridable
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -16,6 +16,8 @@ LOOPDEV_FS ?= "/dev/loop3"
|
||||
SDIMG_SIZE ?= "444"
|
||||
SDIMG_SIZE_beaglebone = "222"
|
||||
|
||||
BOOTPARTNAME ?= "${MACHINE}"
|
||||
|
||||
IMAGE_CMD_sdimg () {
|
||||
SDIMG=${WORKDIR}/sd.img
|
||||
|
||||
@@ -61,7 +63,7 @@ IMAGE_CMD_sdimg () {
|
||||
|
||||
${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET}
|
||||
|
||||
/sbin/mkfs.msdos ${LOOPDEV_BOOT} -n boot $LOOPDEV_BLOCKS
|
||||
/sbin/mkfs.msdos ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
|
||||
|
||||
# Prepare filesystem partition
|
||||
# Copy ubi used by flashing scripts
|
||||
|
||||
Reference in New Issue
Block a user