]> git.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
more notes
[m1-debian] / bootstrap.sh
index ea83c13b86370b644982d048d87ffa9f8174fe8f..70639f60ce7b1410b5fc6906b3643156dea261b2 100644 (file)
@@ -28,6 +28,7 @@ build_linux()
         git fetch
         git reset --hard origin/asahi; git clean -f -x -d &> /dev/null
         curl -s https://tg.st/u/0001-4k-iommu-patch.patch | git am -
+        curl -s https://tg.st/u/40c9642c7569c52189f84621316fc9149979ee65.patch | git am -
         curl -s https://tg.st/u/config-2022-03-09-4k > .config
         make olddefconfig
         make -j `nproc` V=0 bindeb-pkg > /dev/null
@@ -52,8 +53,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 +76,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 +157,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