diff options
author | Randolph Sapp <rs@ti.com> | 2023-05-16 17:29:04 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-05-18 14:50:05 -0500 |
commit | a556e14310ef4c900808d52d823a5e654b6e6d89 (patch) | |
tree | 4b87351d116b641eba21910f6a7840dd799c38c3 /meta-ti-bsp/wic | |
parent | 507ff12202be8ac5f08dd4b42115c9b4b83a4757 (diff) | |
download | meta-ti-a556e14310ef4c900808d52d823a5e654b6e6d89.tar.gz |
meta-ti-bsp: sdimage-2part-efi: rename to load variables
Rename the .wks to .wks.in so the EFI_PROVIDER variable is expanded
properly. We only ever set a soft recommendation for GRUB. If anyone
attempted to change that previously it was ignored (for more than just
the reason here, but that's out of my control).
Add a timeout for the bootloader menu. Currently setting it to 3
seconds.
Remove the read only flag on the rootfs. Not sure why that was there.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/wic')
-rw-r--r-- | meta-ti-bsp/wic/sdimage-2part-efi.wks.in (renamed from meta-ti-bsp/wic/sdimage-2part-efi.wks) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-ti-bsp/wic/sdimage-2part-efi.wks b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in index ffb8d24b..2213a348 100644 --- a/meta-ti-bsp/wic/sdimage-2part-efi.wks +++ b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in | |||
@@ -2,6 +2,6 @@ | |||
2 | # long-description: Creates a partitioned SD card image for TI platforms that | 2 | # long-description: Creates a partitioned SD card image for TI platforms that |
3 | # supports EFI. Boot files are located in the first vfat partition with extra | 3 | # supports EFI. Boot files are located in the first vfat partition with extra |
4 | # reserved space. We cannot use a GPT here. | 4 | # reserved space. We cannot use a GPT here. |
5 | bootloader --append="rootfstype=ext4 ro" | 5 | bootloader --timeout=3 --append="rootfstype=ext4" |
6 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M | 6 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M |
7 | part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid | 7 | part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid |