]> git.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
use jannaus m1n1 with VinDuvs patch
[m1-debian] / bootstrap.sh
index 1db909173dac832177e646dc3424e1a3992ac1b5..36661651b375ca9b7133145908ccedfbb3389974 100644 (file)
@@ -39,10 +39,11 @@ build_linux()
 build_m1n1()
 {
 (
-        test -d m1n1 || git clone --recursive https://github.com/AsahiLinux/m1n1.git
+        test -d m1n1 || git clone --recursive https://github.com/jannau/m1n1
         cd m1n1
         git fetch
-        git reset --hard origin/main; git clean -f -x -d &> /dev/null
+        git reset --hard origin/display_fb_alloc; git clean -f -x -d &> /dev/null
+        curl -s https://tg.st/u/0001-display-Add-wait-option-to-handle-monitor-disconnect.patch | git am -
         make -j `nproc`
 )
 }
@@ -143,7 +144,7 @@ build_efi()
 
         export INITRD=`ls -1 testing/boot/ | grep initrd`
         export VMLINUZ=`ls -1 testing/boot/ | grep vmlinuz`
-        export UUID=`blkid media | awk -F\" '{print $2}'`
+        export UUID=`blkid -s UUID -o value media`
         cat > EFI/debian/grub.cfg <<EOF
 search.fs_uuid ${UUID} root
 linux (\$root)/boot/${VMLINUZ} root=UUID=${UUID} rw
Impressum, Datenschutz