summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/wic
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/wic')
-rw-r--r--meta-raspberrypi/wic/sdimage-raspberrypi.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-raspberrypi/wic/sdimage-raspberrypi.wks b/meta-raspberrypi/wic/sdimage-raspberrypi.wks
new file mode 100644
index 000000000..01fbaeaeb
--- /dev/null
+++ b/meta-raspberrypi/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 mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 20
+part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096
OpenPOWER on IntegriCloud