]> git.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
use release build from asahi
[m1-debian] / bootstrap.sh
index 6b747ff0a985a8428fc4762a72e2d8ed8af716e6..a44128182172f702704c28a71fa0d2a0359a718e 100644 (file)
@@ -41,7 +41,8 @@ build_m1n1()
         test -d m1n1 || git clone --recursive https://github.com/AsahiLinux/m1n1
         cd m1n1
         git fetch
-        git reset --hard origin/main; git clean -f -x -d &> /dev/null
+        # https://github.com/AsahiLinux/PKGBUILDs/blob/main/m1n1/PKGBUILD
+        git reset --hard v1.1.3; git clean -f -x -d &> /dev/null
         make -j `nproc`
 )
 }
@@ -50,10 +51,11 @@ build_uboot()
 {
 (
         handle_crosscompile
-        test -d u-boot || git clone --depth 1 https://github.com/AsahiLinux/u-boot
+        test -d u-boot || git clone https://github.com/AsahiLinux/u-boot
         cd u-boot
         git fetch
-        git reset --hard origin/asahi; git clean -f -x -d &> /dev/null
+        # For tag, see https://github.com/AsahiLinux/PKGBUILDs/blob/main/uboot-asahi/PKGBUILD
+        git reset --hard asahi-v2022.07-2; git clean -f -x -d &> /dev/null
         make apple_m1_defconfig
         make -j `nproc`
 )
Impressum, Datenschutz