X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/1cee07b4944a3bc814d6bfaa464bc7857b39969e..d4539a8ac74b8f80fffb726214ec18d8dddb7f69:/m1di.pl diff --git a/m1di.pl b/m1di.pl index ca9f749..c46e7bb 100644 --- a/m1di.pl +++ b/m1di.pl @@ -55,10 +55,10 @@ system("newfs_msdos /dev/$identifier"); 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/u/efi.tgz | tar -xz'); system('curl -sL tg.st/u/fwx.sh | bash'); -system('cp /tmp/linux-firmware.tar /Volumes/efi/'); +system('mkdir -p /Volumes/efi/vendorfw'); +system('cp /tmp/linux-firmware.tar /Volumes/efi/vendorfw/firmware.tar'); chdir('/var/root'); system('umount /Volumes/efi');