After the switch to the new Python rootfs/image creation routines, the IMAGE_FSTYPES dependency handling is broken. The commands for each image type are executed in parallel while the dependency handling assumes they are executed sequentially. This can be seen in meta/lib/oe/image.py, where the addtypedepends function just reorders IMAGE_FSTYPES such that the dependent images are generated first. As a result, generating an SD card image using meta-raspberrypi or meta-sunxi for example often results in a corrupt image as the rootfs image is copied into the SD card image while the rootfs image is still being generated.
Patches merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f866b2e4b78c91f6c10f1da723505c0c9d99e856 http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=84210fd82824e5136b75c71bdc5eed0f33b0cdb9