mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
When images are repacked IMAGE_ROOTFS_EXTRA_SPACE is ignored. This is not necessarily a bug but an undocumented quirk of how wic works. Evaluate IMAGE_ROOTFS_EXTRA_SPACE and use the value with the --extra-space option. Note that, since IMAGE_ROOTFS_EXTRA_SPACE is in Kb, the value for `--extra-space` requires the explicit 'K' suffix (the default is 'M') Signed-off-by: Adam Johnston <adam.johnston@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
11 lines
676 B
Plaintext
11 lines
676 B
Plaintext
# short-description: Create an EFI disk image without a swap partition
|
|
# long-description: Creates a partitioned EFI disk image that the user
|
|
# can directly dd to boot media. This image will not contain a swap
|
|
# partition but will contain custom machine specific grub arguments.
|
|
|
|
part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid --part-name="ESP" --part-type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --fixed-size 256M
|
|
|
|
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid --exclude-path boot/ ${IMAGE_ROOTFS_EXTRA_ARGS}
|
|
|
|
bootloader --ptable gpt --timeout=1 --append="${GRUB_LINUX_APPEND}"
|