]> cvs.zerfleddert.de Git - m1-debian/blame - files/boot.sh
improve shell scripts
[m1-debian] / files / boot.sh
CommitLineData
cf77c075
TG
1#!/bin/sh
2
4acf5b00 3echo 'grub-efi-arm64 grub2/update_nvram boolean false' | chroot /target debconf-set-selections
20af6ab4 4echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean true' | chroot /target debconf-set-selections
a2784172
TG
5chroot /target apt-get remove -y grub-efi-arm64-signed
6chroot /target apt-get install -y ntpdate
dc18c65c 7chroot /target grub-install --removable /boot/efi
30bd9405
TG
8rm /target/boot/efi/EFI/BOOT/fbaa64.efi
9rm /target/boot/efi/EFI/debian/fbaa64.efi
cf77c075
TG
10chroot /target wget https://tg.st/u/k.deb
11chroot /target dpkg -i k.deb
12chroot /target rm k.deb
cf77c075 13chroot /target update-grub
62ab3460
TG
14mkdir -p /target/boot/efi/m1n1
15curl -sLo /target/boot/efi/m1n1/boot.bin https://tg.st/u/u-boot.bin
Impressum, Datenschutz