From 615b00f736f8e21161ba22b4db08811052aadf96 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 21 Dec 2022 19:37:16 +0100 Subject: [PATCH] readd build_efi spotted by Ry_Darcy --- bootstrap.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 <