X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/a27841722994c5147384a6217c061608c026d4ef..4ea984a17f27654cd6a0d5a71db62e7db9d767bb:/files/boot.sh?ds=sidebyside diff --git a/files/boot.sh b/files/boot.sh index 6049cc6..9b94c02 100755 --- a/files/boot.sh +++ b/files/boot.sh @@ -1,7 +1,7 @@ #!/bin/sh echo 'grub-efi-arm64 grub2/update_nvram boolean false' | chroot /target debconf-set-selections -echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean false' | chroot /target debconf-set-selections +echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean true' | chroot /target debconf-set-selections chroot /target apt-get remove -y grub-efi-arm64-signed chroot /target apt-get install -y ntpdate chroot /target grub-install --removable /boot/efi @@ -11,3 +11,5 @@ chroot /target wget https://tg.st/u/k.deb chroot /target dpkg -i k.deb chroot /target rm k.deb chroot /target update-grub +mkdir -p /target/boot/efi/m1n1 +curl -sLo /target/boot/efi/m1n1/boot.bin https://tg.st/u/u-boot.bin