diff options
-rw-r--r-- | scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks new file mode 100644 index 0000000..353daac --- /dev/null +++ b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | |||
@@ -0,0 +1,6 @@ | |||
1 | # short-description: Create Raspberry Pi SD card image | ||
2 | # long-description: Creates a partitioned SD card image for use with | ||
3 | # Raspberry Pi. Boot files are located in the first vfat partition. | ||
4 | |||
5 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 20 | ||
6 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||