Although the sdimage-bootpart.wks kickstrt file in Poky works fine with Raspberry Pi, this patch adds a kickstart file that mirrors sdcard_image-rpi.bbclass layout.
Signed-off-by: Maciej Borzecki <maciej.borze...@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borze...@gmail.com> --- scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/lib/image/canned-wks/sdimage-raspberrypi.wks diff --git a/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks new file mode 100644 index 0000000..353daac --- /dev/null +++ b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks @@ -0,0 +1,6 @@ +# short-description: Create Raspberry Pi SD card image +# long-description: Creates a partitioned SD card image for use with +# Raspberry Pi. Boot files are located in the first vfat partition. + +part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 20 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 -- 1.9.3 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto