]> git.zerfleddert.de Git - m1-debian/blobdiff - files/boot.sh
remove fstab in dd and add it to live stick to prevent bootloader configuration
[m1-debian] / files / boot.sh
index aeb54ff5d0534f574822bff2694eb3f082566f4c..32014076ae0a79bd7393c30c4089a18a13d91564 100755 (executable)
@@ -1,10 +1,13 @@
 #!/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
Impressum, Datenschutz