summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/canned-wks/sdimage-bootpart.wks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/canned-wks/sdimage-bootpart.wks')
-rw-r--r--scripts/lib/wic/canned-wks/sdimage-bootpart.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/sdimage-bootpart.wks b/scripts/lib/wic/canned-wks/sdimage-bootpart.wks
new file mode 100644
index 0000000..7ffd632
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/sdimage-bootpart.wks
@@ -0,0 +1,6 @@
+# short-description: Create SD card image with a boot partition
+# long-description: Creates a partitioned SD card image. Boot files
+# are located in the first vfat partition.
+
+part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
+part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4