From: Thomas Glanzmann Date: Wed, 23 Feb 2022 21:16:55 +0000 (+0100) Subject: create efi.tar X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/0ffed154936f329bcc1500e506f1d78c99b2d79e?hp=645502a5e7872222f74eaccec383484bcf2e3bf9 create efi.tar --- diff --git a/bootstrap.sh b/bootstrap.sh index fb8580b..32a760e 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -134,6 +134,27 @@ build_dd() ) } +build_efi() +{ +( + rm -f EFI + mkdir -p EFI/BOOT + 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=`disktype build/media | grep UUID | awk '{print $2}'` + cat > EFI/boot/grub.cfg <