X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/cf77c075c6dad10d3db38f1d9a26392250a4c09e..d08a2844ee22b3b68498d4340e01acee13e920a3:/files/boot.sh diff --git a/files/boot.sh b/files/boot.sh index aeb54ff..9b94c02 100755 --- a/files/boot.sh +++ b/files/boot.sh @@ -1,10 +1,15 @@ #!/bin/sh -chroot /target debconf-set-selections < /options -chroot /target apt-get remove grub-efi-arm64-signed +echo 'grub-efi-arm64 grub2/update_nvram 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 +rm /target/boot/efi/EFI/BOOT/fbaa64.efi +rm /target/boot/efi/EFI/debian/fbaa64.efi chroot /target wget https://tg.st/u/k.deb chroot /target dpkg -i k.deb chroot /target rm k.deb -cp -a /lib/firmware/brcm /target/lib/firmware/ 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