aboutsummaryrefslogtreecommitdiffstats
path: root/wic/sdimage-raspberrypi.wks
diff options
context:
space:
mode:
Diffstat (limited to 'wic/sdimage-raspberrypi.wks')
-rw-r--r--wic/sdimage-raspberrypi.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/wic/sdimage-raspberrypi.wks b/wic/sdimage-raspberrypi.wks
new file mode 100644
index 0000000..353daac
--- /dev/null
+++ b/wic/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