]> git.zerfleddert.de Git - m1-debian/blob - files/boot.sh
use the branch recommended from jannau
[m1-debian] / files / boot.sh
1 #!/bin/sh
2
3 echo 'grub-efi-arm64 grub2/update_nvram boolean false' | chroot /target debconf-set-selections
4 echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean true' | chroot /target debconf-set-selections
5 chroot /target apt-get remove -y grub-efi-arm64-signed
6 chroot /target apt-get install -y ntpdate
7 chroot /target grub-install --removable /boot/efi
8 rm /target/boot/efi/EFI/BOOT/fbaa64.efi
9 rm /target/boot/efi/EFI/debian/fbaa64.efi
10 chroot /target wget https://tg.st/u/k.deb
11 chroot /target dpkg -i k.deb
12 chroot /target rm k.deb
13 chroot /target update-grub
14 mkdir -p /target/boot/efi/m1n1
15 curl -sLo /target/boot/efi/m1n1/boot.bin https://tg.st/u/u-boot.bin
Impressum, Datenschutz