diff options
Diffstat (limited to 'classes/sdcard_image-rpi.bbclass')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index e803a0d..7b06936 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -23,12 +23,12 @@ inherit image_types | |||
23 | # 0 4MiB 4MiB + 48MiB 4MiB + 48Mib + SDIMG_ROOTFS | 23 | # 0 4MiB 4MiB + 48MiB 4MiB + 48Mib + SDIMG_ROOTFS |
24 | 24 | ||
25 | # This image depends on the rootfs image | 25 | # This image depends on the rootfs image |
26 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" | 26 | IMAGE_TYPEDEP:rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" |
27 | 27 | ||
28 | # Kernel image name | 28 | # Kernel image name |
29 | SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img" | 29 | SDIMG_KERNELIMAGE:raspberrypi ?= "kernel.img" |
30 | SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img" | 30 | SDIMG_KERNELIMAGE:raspberrypi2 ?= "kernel7.img" |
31 | SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img" | 31 | SDIMG_KERNELIMAGE:raspberrypi3-64 ?= "kernel8.img" |
32 | 32 | ||
33 | # Boot partition volume id | 33 | # Boot partition volume id |
34 | # Shorten raspberrypi to just rpi to keep it under 11 characters | 34 | # Shorten raspberrypi to just rpi to keep it under 11 characters |
@@ -50,7 +50,7 @@ inherit kernel-artifact-names | |||
50 | 50 | ||
51 | RPI_SDIMG_EXTRA_DEPENDS ?= "" | 51 | RPI_SDIMG_EXTRA_DEPENDS ?= "" |
52 | 52 | ||
53 | do_image_rpi_sdimg[depends] = " \ | 53 | do_image:rpi_sdimg[depends] = " \ |
54 | parted-native:do_populate_sysroot \ | 54 | parted-native:do_populate_sysroot \ |
55 | mtools-native:do_populate_sysroot \ | 55 | mtools-native:do_populate_sysroot \ |
56 | dosfstools-native:do_populate_sysroot \ | 56 | dosfstools-native:do_populate_sysroot \ |
@@ -62,7 +62,7 @@ do_image_rpi_sdimg[depends] = " \ | |||
62 | ${RPI_SDIMG_EXTRA_DEPENDS} \ | 62 | ${RPI_SDIMG_EXTRA_DEPENDS} \ |
63 | " | 63 | " |
64 | 64 | ||
65 | do_image_rpi_sdimg[recrdeps] = "do_build" | 65 | do_image:rpi_sdimg[recrdeps] = "do_build" |
66 | 66 | ||
67 | # SD card image name | 67 | # SD card image name |
68 | SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.rpi-sdimg" | 68 | SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.rpi-sdimg" |
@@ -87,7 +87,7 @@ def split_overlays(d, out, ver=None): | |||
87 | 87 | ||
88 | return overlays | 88 | return overlays |
89 | 89 | ||
90 | IMAGE_CMD_rpi-sdimg () { | 90 | IMAGE_CMD:rpi-sdimg () { |
91 | 91 | ||
92 | # Align partitions | 92 | # Align partitions |
93 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1) | 93 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1) |