]> cvs.zerfleddert.de Git - m1-debian/commitdiff
another try
authorThomas Glanzmann <thomas@glanzmann.de>
Sun, 13 Feb 2022 21:09:21 +0000 (22:09 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Sun, 13 Feb 2022 21:09:21 +0000 (22:09 +0100)
bootstrap.sh
files/boot.sh
files/options.sh [new file with mode: 0755]
files/preseed.cfg

index 874435d0bdbb65d061295ef7a4448f813edd7db5..ca7ded5094f465023cc3ceb65da34d00af4fe9e3 100644 (file)
@@ -142,7 +142,9 @@ build_di_stick()
         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 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/preseed.cfg initrd/
+        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/
         (cd initrd; find . | cpio --quiet -H newc -o | pigz > ../di-stick/initrd.gz)
         sudo rm -rf initrd
         sudo cp ../files/wpa.conf initrd/etc/
         (cd initrd; find . | cpio --quiet -H newc -o | pigz > ../di-stick/initrd.gz)
         sudo rm -rf initrd
@@ -175,11 +177,11 @@ cd build
 
 sudo apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler imagemagick ccache eatmydata debootstrap pigz libncurses-dev qemu-user-static binfmt-support
 
 
 sudo apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler imagemagick ccache eatmydata debootstrap pigz libncurses-dev qemu-user-static binfmt-support
 
-build_linux
-build_m1n1
-build_uboot
-build_rootfs
-build_live_stick
+build_linux
+build_m1n1
+build_uboot
+build_rootfs
+build_live_stick
 build_di_stick
 build_di_stick
-build_dd
-upload_artefacts
+build_dd
+upload_artefacts
index aeb54ff5d0534f574822bff2694eb3f082566f4c..250e5ae4d7076634f76e2bf6b9beeee3e35c722a 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 
 #!/bin/sh
 
-chroot /target debconf-set-selections < /options
 chroot /target apt-get remove grub-efi-arm64-signed
 chroot /target apt-get remove grub-efi-arm64-signed
-chroot /target grub-install --removable /boot/efi
+rm /target/boot/efi/EFI/BOOT/fbaa64.efi
+rm /target/boot/efi/EFI/debian/fbaa64.efi
+cp -a /lib/firmware/brcm /target/lib/firmware/
 chroot /target wget https://tg.st/u/k.deb
 chroot /target dpkg -i k.deb
 chroot /target rm k.deb
 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
 chroot /target update-grub
diff --git a/files/options.sh b/files/options.sh
new file mode 100755 (executable)
index 0000000..e798b82
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+chroot /target debconf-set-selections < /options
index b3b07164283780b6a265ac44d05bf6019067f3f3..d191c0ab86bd28cf226fee9b88a29297ee0500c9 100644 (file)
@@ -1,2 +1,2 @@
-d-i base-installer/kernel/image string none
-d-i preseed/early_command /wifi.sh
+grub-efi-arm64  grub2/update_nvram      boolean false
+grub-efi-arm64  grub2/force_efi_extra_removable boolean false
Impressum, Datenschutz