mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
Convert to new override syntax
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Andrei Gherzan
parent
8dc3a31088
commit
9ea7aa2cd2
@@ -23,12 +23,12 @@ inherit image_types
|
||||
# 0 4MiB 4MiB + 48MiB 4MiB + 48Mib + SDIMG_ROOTFS
|
||||
|
||||
# This image depends on the rootfs image
|
||||
IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}"
|
||||
IMAGE_TYPEDEP:rpi-sdimg = "${SDIMG_ROOTFS_TYPE}"
|
||||
|
||||
# Kernel image name
|
||||
SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img"
|
||||
SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img"
|
||||
SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img"
|
||||
SDIMG_KERNELIMAGE:raspberrypi ?= "kernel.img"
|
||||
SDIMG_KERNELIMAGE:raspberrypi2 ?= "kernel7.img"
|
||||
SDIMG_KERNELIMAGE:raspberrypi3-64 ?= "kernel8.img"
|
||||
|
||||
# Boot partition volume id
|
||||
# Shorten raspberrypi to just rpi to keep it under 11 characters
|
||||
@@ -50,7 +50,7 @@ inherit kernel-artifact-names
|
||||
|
||||
RPI_SDIMG_EXTRA_DEPENDS ?= ""
|
||||
|
||||
do_image_rpi_sdimg[depends] = " \
|
||||
do_image:rpi_sdimg[depends] = " \
|
||||
parted-native:do_populate_sysroot \
|
||||
mtools-native:do_populate_sysroot \
|
||||
dosfstools-native:do_populate_sysroot \
|
||||
@@ -62,7 +62,7 @@ do_image_rpi_sdimg[depends] = " \
|
||||
${RPI_SDIMG_EXTRA_DEPENDS} \
|
||||
"
|
||||
|
||||
do_image_rpi_sdimg[recrdeps] = "do_build"
|
||||
do_image:rpi_sdimg[recrdeps] = "do_build"
|
||||
|
||||
# SD card image name
|
||||
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.rpi-sdimg"
|
||||
@@ -87,7 +87,7 @@ def split_overlays(d, out, ver=None):
|
||||
|
||||
return overlays
|
||||
|
||||
IMAGE_CMD_rpi-sdimg () {
|
||||
IMAGE_CMD:rpi-sdimg () {
|
||||
|
||||
# Align partitions
|
||||
BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
|
||||
|
||||
Reference in New Issue
Block a user