blob: 96ba6bef5fcc28f3152c69e1296997cb7ef03c21 [file] [log] [blame]
# short-description: Create mmc image for Turris Omnia
# long-description: Creates a partitioned mmc image for use with
# Turris Omnia. Boot files are located in the first vfat partition.
part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --system-id 0x0c
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label primary --align 1024
part /secondary --source rootfs --ondisk mmcblk0 --fstype=ext4 --label secondary --align 1024 --fsoptions "noauto"
part /nvram --ondisk mmcblk0 --fstype=ext4 --label nvram1 --align 1024 --fixed-size 100M
part /nvram2 --ondisk mmcblk0 --fstype=ext4 --label nvram2 --align 1024 --fixed-size 100M --fsoptions "noauto"