Skip to contentSkip to conversation

sdcard_image-rpi: make rpi-sdimg image dependent on rootfs type

PATCH In review Jonathan Liu 2 participants 2 messages Mar 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
---
 classes/sdcard_image-rpi.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
classes/sdcard_image-rpi.bbclass +2 -2
index 1b055bd..71b6477 100644
@@ -22,8 +22,8 @@ inherit image_types
 # |                        |            |                        |
 # 0                      4MiB     4MiB + 20MiB       4MiB + 20Mib + SDIMG_ROOTFS
 
-# This image depends on ext3 image
-IMAGE_TYPEDEP_rpi-sdimg = "ext3"
+# This image depends on the rootfs image
+IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}"
 
 # Set kernel and boot loader
 IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
Signature · 1 line
1.9.0
#1 lore raw
Quoted 9 lines · Jonathan Liu

The rootfs may be using a filesystem type other than ext3 so it should not be hardcoded.

Change-Id I71c1a96831ce4617b24de7743fe3b70ec5822a33
---
 classes/sdcard_image-rpi.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Merged. Thank you.

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12