test -d linux || git clone https://github.com/AsahiLinux/linux
cd linux
git fetch -a -t
- git reset --hard asahi-6.2-1;
+ git reset --hard asahi-6.2-5;
cat ../../config.txt > .config
make LLVM=${CLANG_VERSION} rustavailable
make LLVM=${CLANG_VERSION} olddefconfig
test -d m1n1 || git clone --recursive https://github.com/AsahiLinux/m1n1
cd m1n1
git fetch -a -t
- git reset --hard v1.2.4;
+ git reset --hard v1.2.5;
make -j `nproc`
)
}
test -d u-boot || git clone https://github.com/AsahiLinux/u-boot
cd u-boot
git fetch -a -t
- git reset --hard asahi-v2022.10-1;
+ git reset --hard asahi-v2023.01-3;
make apple_m1_defconfig
make -j `nproc`
unset LC_CTYPE
unset LANG
-main() {
- mkdir -p build
- cd build
+mkdir -p build
+cd build
- # devscripts needed for dch and dcmd
- dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
+# devscripts needed for dch and dcmd
+dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
- command -v git >/dev/null || sudo apt-get install git
- test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
- cd mesa
- git fetch -a -t
- git reset --hard origin/main
- rm -rf debian
- cp -a ../../mesa-debian debian
- EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip'
- sudo apt-get build-dep .
- dpkg-buildpackage -uc -us -a arm64 --build=binary
-}
-
-main "$@"
+command -v git >/dev/null || sudo apt-get install git
+test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
+cd mesa
+git fetch -a -t
+git reset --hard asahi-20230311
+rm -rf debian
+cp -a ../../mesa-debian debian
+EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip'
+sudo apt-get build-dep .
+dpkg-buildpackage -uc -us -a arm64 --build=binary