From 645502a5e7872222f74eaccec383484bcf2e3bf9 Mon Sep 17 00:00:00 2001
From: Thomas Glanzmann <thomas@glanzmann.de>
Date: Wed, 23 Feb 2022 22:04:43 +0100
Subject: [PATCH 1/1] extract efi.tar.gz

---
 m1di.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m1di.pl b/m1di.pl
index ca9f749..8c3b861 100644
--- a/m1di.pl
+++ b/m1di.pl
@@ -56,7 +56,7 @@ system("mkdir -p /Volumes/efi");
 system("mount -t msdos /dev/$identifier /Volumes/efi");
 chdir('/Volumes/efi');
 system('mkdir -p /Volumes/efi/efi/boot');
-system('curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi');
+system('curl -sL https://tg.st/efi.tar.gz | tar -xzf -');
 system('curl -sL tg.st/u/fwx.sh | bash');
 system('cp /tmp/linux-firmware.tar /Volumes/efi/');
 chdir('/var/root');
-- 
2.39.5