From 9a2692fcde8ddb3cd7172c1f5fad7a88c6829979 Mon Sep 17 00:00:00 2001 From: Kristof Robot Date: Tue, 4 Mar 2014 22:37:31 +0100 Subject: [PATCH] sdcard_image-sunxi.bbclass: adding ext3 dependency (resolves #46) Without this explicit dependency, a race condition would be present between the generation of the sd image and the generation of the ext3 file, which leads to corrupt SD images in some circumstances. Based on meta-raspberrypi commit https://github.com/djwillis/meta-raspberrypi/commit/a760ea5fa293a958ebcf1e5af0e6aa4518de4639 --- classes/sdcard_image-sunxi.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/sdcard_image-sunxi.bbclass b/classes/sdcard_image-sunxi.bbclass index 499aeab..815c539 100644 --- a/classes/sdcard_image-sunxi.bbclass +++ b/classes/sdcard_image-sunxi.bbclass @@ -13,6 +13,8 @@ inherit image_types # # +# This image depends on ext3 image +IMAGE_TYPEDEP_sunxi-sdimg = "ext3" # Boot partition volume id BOOTDD_VOLUME_ID ?= "${MACHINE}"