summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2dfa737)
raw | patch | inline | side by side (parent: 2dfa737)
author | Koen Kooi <koen@dominion.thruhere.net> | |
Tue, 18 Oct 2011 16:22:02 +0000 (18:22 +0200) | ||
committer | Koen Kooi <koen@dominion.thruhere.net> | |
Tue, 18 Oct 2011 16:22:02 +0000 (18:22 +0200) |
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
classes/sdcard_image.bbclass | patch | blob | history |
index 41891fe5adf3d5f8a22d241a1344d834044e0e5d..d7f48a804bf97591b9803076b26d3b9baa513434 100644 (file)
SDIMG_SIZE ?= "444"
SDIMG_SIZE_beaglebone = "222"
+BOOTPARTNAME ?= "${MACHINE}"
+
IMAGE_CMD_sdimg () {
SDIMG=${WORKDIR}/sd.img
${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