summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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