sudo rm -rf initrd; mkdir initrd; (cd initrd; gzip -cd ../initrd.gz | sudo cpio -imd --quiet)
sudo rm -rf initrd/lib/modules/*
sudo cp -a testing/lib/modules/* initrd/lib/modules/
- sudo cp ../files/options.sh initrd/usr/lib/base-installer.d/
- sudo cp ../files/wifi.sh initrd/usr/lib/debian-installer-startup.d/
- sudo cp ../files/boot.sh initrd/usr/lib/finish-install.d/
- sudo cp ../files/wpa.conf initrd/etc/
+ sudo cp ../files/wifi.sh initrd/
+ sudo cp ../files/boot.sh initrd/
(cd initrd; find . | cpio --quiet -H newc -o | pigz > ../di-stick/initrd.gz)
sudo rm -rf initrd
cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi di-stick/efi/boot/bootaa64.efi
#!/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
chroot /target apt-get remove grub-efi-arm64-signed
rm /target/boot/efi/EFI/BOOT/fbaa64.efi
rm /target/boot/efi/EFI/debian/fbaa64.efi