A small series with 2 patches that enable using wic (once again). The first patch moves sdimage-wks to ${LAYERDIR}/wic. This is already implemented in meta-yocto-bsp. The goal is to make wks files easier to find. Since Yocto is in general dumping custom image building methods in favor of wic, one would expect that wic is also usable with meta-raspberrypi.
The second patch adds support for KERNEL_DEVICETREE to IMAGE_BOOT_FILES. Currently, DTs will be copied over to boot partition when building rpi-sdimg. However, when building a wic image, none of this happens and once the process comlpetes, one will get an unbootable image. The patch adds proper entries to IMAGE_BOOT_FILES also taking care of proper file name transformation. With these 2 patches, a wic image can be built by adding the following settings to conf/local.conf: IMAGE_FSTYPES_append = " wic" # or with your favourite compression, eg. wic.xz WKS_FILES = "sdimage-raspberrypi.wks" Maciej Borzecki (2): wic: move sdimage-raspberrypi to toplevel wic location rpi-base: wic: generate entries for device tree files conf/machine/include/rpi-base.inc | 32 +++++++++++++++++++++- .../canned-wks => wic}/sdimage-raspberrypi.wks | 0 2 files changed, 31 insertions(+), 1 deletion(-) rename {scripts/lib/image/canned-wks => wic}/sdimage-raspberrypi.wks (100%) -- 2.5.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto