mirror of
git://git.yoctoproject.org/poky.git
synced 2025-08-22 00:42:05 +02:00

Put the root partition at the end of the disk so that it can be easily resized. (From meta-yocto rev: e2d7f203a08170481e75d43246beda7b1af1d5f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 lines
534 B
Plaintext
12 lines
534 B
Plaintext
# short-description: Create an EFI disk image
|
|
# long-description: Creates a partitioned EFI disk image that the user
|
|
# can directly dd to boot media.
|
|
|
|
part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid
|
|
|
|
part swap --size 44 --label swap --fstype=swap --use-uuid
|
|
|
|
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
|
|
|
|
bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"
|