]> git.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
put boot.bin to the right location
[m1-debian] / bootstrap.sh
index ea83c13b86370b644982d048d87ffa9f8174fe8f..5f52b03f9ee0924e487bafcc0a017ccf290059f3 100644 (file)
@@ -52,8 +52,7 @@ build_uboot()
         test -d u-boot || git clone --depth 1 https://github.com/AsahiLinux/u-boot
         cd u-boot
         git fetch
-        git reset --hard origin/x2r10g10b10; git clean -f -x -d &> /dev/null
-        curl -s https://tg.st/u/v2-console-usb-kbd-Limit-poll-frequency-to-improve-performance.diff | patch -p1
+        git reset --hard origin/asahi; git clean -f -x -d &> /dev/null
         make apple_m1_defconfig
         make -j `nproc`
 )
@@ -76,7 +75,7 @@ build_rootfs()
 
         sudo mkdir -p boot/efi
 
-        sudo bash -c 'echo live > etc/hostname'
+        sudo bash -c 'echo debian > etc/hostname'
 
         sudo bash -c 'echo > etc/motd'
 
@@ -157,9 +156,9 @@ build_asahi_installer_image()
 {
 (
         rm -rf aii
-        mkdir -p aii/esp aii/m1n1
+        mkdir -p aii/esp/m1n1
         cp -a EFI aii/esp/
-        cp u-boot.bin aii/m1n1/boot.bin
+        cp u-boot.bin aii/esp/m1n1/boot.bin
         ln media aii/media
         cd aii
         zip -r9 ../debian-base.zip esp media
Impressum, Datenschutz