summaryrefslogtreecommitdiff
path: root/wic
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-01-24 19:25:31 -0200
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-01-24 19:30:55 -0200
commit172eed3d5402a26b9c417248a03b5bbe2e4230e1 (patch)
treeb6372fdb0f67d66a48db0288222ac2675965d901 /wic
parent5df32d15401fc7f084605a5a1a401da681407d1f (diff)
wic: add wks for raspberrypi-based devices
This WKS file can be used by OE to generate generic WIC images for Raspberry Pi-based devices. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/raspberrypi.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/wic/raspberrypi.wks b/wic/raspberrypi.wks
new file mode 100644
index 0000000..e9323da
--- /dev/null
+++ b/wic/raspberrypi.wks
@@ -0,0 +1,6 @@
+# short-description: Create SD card image for Raspberry Pi
+# long-description: Creates a partitioned SD card image for Raspberry Pi.
+# Boot files are located in the first vfat partition.
+
+part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 40 --use-uuid
+part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --use-uuid