diff options
author | Jonathan Liu <net147@gmail.com> | 2014-03-06 00:28:10 +1100 |
---|---|---|
committer | Jonathan Liu <net147@gmail.com> | 2014-03-06 00:29:13 +1100 |
commit | f638f7cf3886b3da74c9b7042e5237a4e66b9b83 (patch) | |
tree | 090b2b36b34b2752f1a1fae1aa38785bd30c38ea /classes | |
parent | a760ea5fa293a958ebcf1e5af0e6aa4518de4639 (diff) | |
download | meta-raspberrypi-f638f7cf3886b3da74c9b7042e5237a4e66b9b83.tar.gz |
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>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 1b055bd..71b6477 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -22,8 +22,8 @@ inherit image_types | |||
22 | # | | | | | 22 | # | | | | |
23 | # 0 4MiB 4MiB + 20MiB 4MiB + 20Mib + SDIMG_ROOTFS | 23 | # 0 4MiB 4MiB + 20MiB 4MiB + 20Mib + SDIMG_ROOTFS |
24 | 24 | ||
25 | # This image depends on ext3 image | 25 | # This image depends on the rootfs image |
26 | IMAGE_TYPEDEP_rpi-sdimg = "ext3" | 26 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" |
27 | 27 | ||
28 | # Set kernel and boot loader | 28 | # Set kernel and boot loader |
29 | IMAGE_BOOTLOADER ?= "bcm2835-bootfiles" | 29 | IMAGE_BOOTLOADER ?= "bcm2835-bootfiles" |