From 0ffed154936f329bcc1500e506f1d78c99b2d79e Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 23 Feb 2022 22:16:55 +0100 Subject: [PATCH] create efi.tar --- bootstrap.sh | 24 +++++++++++++++++++++++- m1di.pl | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) 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 <