From: Thomas Glanzmann Date: Wed, 21 Dec 2022 18:37:16 +0000 (+0100) Subject: readd build_efi spotted by Ry_Darcy X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/615b00f736f8e21161ba22b4db08811052aadf96 readd build_efi spotted by Ry_Darcy --- diff --git a/bootstrap.sh b/bootstrap.sh index 1b8ae06..393692a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -87,6 +87,25 @@ build_dd() ) } +build_efi() +{ +( + rm -rf EFI + mkdir -p EFI/boot EFI/debian + cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi EFI/boot/bootaa64.efi + + export INITRD=`ls -1 testing/boot/ | grep initrd` + export VMLINUZ=`ls -1 testing/boot/ | grep vmlinuz` + export UUID=`blkid -s UUID -o value media` + cat > EFI/debian/grub.cfg <