[yocto] [meta-raspberrypi][PATCH 2/2] sdimage-raspberrypi.wks: kickstart image definition
Maciej Borzecki
maciej.borzecki at open-rnd.pl
Wed Dec 10 04:12:05 PST 2014
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.borzecki at open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki at 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
More information about the yocto
mailing list