developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 1 | # short-description: Create mmc image for Turris Omnia |
| 2 | # long-description: Creates a partitioned mmc image for use with |
| 3 | # Turris Omnia. Boot files are located in the first vfat partition. |
| 4 | |
| 5 | part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --system-id 0x0c |
| 6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label primary --align 1024 |
| 7 | part /secondary --source rootfs --ondisk mmcblk0 --fstype=ext4 --label secondary --align 1024 --fsoptions "noauto" |
| 8 | part /nvram --ondisk mmcblk0 --fstype=ext4 --label nvram1 --align 1024 --fixed-size 100M |
| 9 | part /nvram2 --ondisk mmcblk0 --fstype=ext4 --label nvram2 --align 1024 --fixed-size 100M --fsoptions "noauto" |