test -d linux || git clone https://github.com/AsahiLinux/linux
cd linux
git fetch -a -t
- git reset --hard origin/asahi-wip;
- curl -sL https://tg.st/u/5ec32cdb6555bf935fd621ef8923410a1f51b5b9.patch | git am -
- curl -sL https://tg.st/u/c65f0ecca767f7853bf33f1710d7637f11b70403.patch | git am -
+ git reset --hard asahi-6.3-7;
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.7-7-g076217a;
+ git reset --hard v1.2.9;
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-v2023.01-3;
+ git reset --hard asahi-v2023.04-2;
make apple_m1_defconfig
make -j `nproc`
package_boot_bin()
{
(
- export M1N1_VERSION=1.2.7-3
+ export M1N1_VERSION=1.2.9
rm -rf m1n1_${M1N1_VERSION}_arm64
mkdir -p m1n1_${M1N1_VERSION}_arm64/DEBIAN m1n1_${M1N1_VERSION}_arm64/usr/lib/m1n1/
cp u-boot.bin m1n1_${M1N1_VERSION}_arm64/usr/lib/m1n1/boot.bin
# the latest mesa tag will be in sync with the latest kernel tag and usually
# also the latest live kernel (except when I'm about to do a release)
# 17:18 <marcan> if those two desync it'll refuse to initialize
-git reset --hard asahi-20230321
+git reset --hard asahi-20230606
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'
mkdir -p build
cd build
-export META_VERSION=6.3.0-3
+export META_VERSION=6.3.0-4
rm -rf linux-image-asahi_${META_VERSION}_arm64
mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN
cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <<EOF
Package: linux-image-asahi
Version: $META_VERSION
Section: base
-Depends: linux-image-6.3.0-asahi-00535-ga856200bc2a6
+Depends: linux-image-6.3.0-asahi-00668-g1a9452fde941
Provides: wireguard-modules (= 1.0.0)
Priority: optional
Architecture: arm64