sdcard_image-rpi: make rpi-sdimg image dependent on rootfs type
The rootfs may be using a filesystem type other than ext3 so it should not be hardcoded. Change-Id: I71c1a96831ce4617b24de7743fe3b70ec5822a33 Signed-off-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
@ -22,8 +22,8 @@ inherit image_types
|
|||||||
# | | | |
|
# | | | |
|
||||||
# 0 4MiB 4MiB + 20MiB 4MiB + 20Mib + SDIMG_ROOTFS
|
# 0 4MiB 4MiB + 20MiB 4MiB + 20Mib + SDIMG_ROOTFS
|
||||||
|
|
||||||
# This image depends on ext3 image
|
# This image depends on the rootfs image
|
||||||
IMAGE_TYPEDEP_rpi-sdimg = "ext3"
|
IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}"
|
||||||
|
|
||||||
# Set kernel and boot loader
|
# Set kernel and boot loader
|
||||||
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
|
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
|
||||||
|
Reference in New Issue
Block a user