summaryrefslogtreecommitdiffstats
path: root/classes/sdcard_image-rpi.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sdcard_image-rpi.bbclass')
-rw-r--r--classes/sdcard_image-rpi.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index e18a596..e803a0d 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -31,7 +31,9 @@ SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img"
31SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img" 31SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img"
32 32
33# Boot partition volume id 33# Boot partition volume id
34BOOTDD_VOLUME_ID ?= "${MACHINE}" 34# Shorten raspberrypi to just rpi to keep it under 11 characters
35# now enforced by mkfs.vfat from dosfstools-4.2
36BOOTDD_VOLUME_ID ?= "${@d.getVar('MACHINE').replace('raspberrypi', 'rpi')}"
35 37
36# Boot partition size [in KiB] (will be rounded up to IMAGE_ROOTFS_ALIGNMENT) 38# Boot partition size [in KiB] (will be rounded up to IMAGE_ROOTFS_ALIGNMENT)
37BOOT_SPACE ?= "49152" 39BOOT_SPACE ?= "49152"