aboutsummaryrefslogtreecommitdiffstats
path: root/meta-mel/scripts/lib/wic/canned-wks/sdimage-bootpart-4g.wks
blob: 1f9ff92917d62b801f745a33ba49b7d6e5bb9ac3 (plain)
1
2
3
4
5
6
7
8
9
10
# ---------------------------------------------------------------------------------------------------------------------
# SPDX-License-Identifier: MIT
# ---------------------------------------------------------------------------------------------------------------------

# 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 4096 --size 64M --extra-space 0
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 --size 3600M --overhead-factor 1 --extra-space 0