]> cvs.zerfleddert.de Git - m1-debian/blobdiff - m1di.pl
extract efi.tar.gz
[m1-debian] / m1di.pl
diff --git a/m1di.pl b/m1di.pl
index 106ab1744368269f671a03ea22f3ba5798827751..8c3b86110f7075968b436b7a4795371543f55491 100644 (file)
--- a/m1di.pl
+++ b/m1di.pl
@@ -1,5 +1,7 @@
 #!/usr/bin/perl
 
+# SPDX-License-Identifier: MIT
+
 # Todo:
 # Create an exclude identifier list of all Apple volumes and build a safetey check
 # Detect if the paritions already exist and offer to reinstall system
@@ -54,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');
Impressum, Datenschutz