test -d linux || git clone https://github.com/AsahiLinux/linux
cd linux
git fetch -a -t
- git reset --hard asahi-6.3-7;
+ git reset --hard asahi-6.4-3;
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.9;
+ git reset --hard v1.3.0;
make -j `nproc`
)
}
package_boot_bin()
{
(
- export M1N1_VERSION=1.2.9
+ export M1N1_VERSION=1.3.0
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
mkdir -p build
cd build
-export META_VERSION=6.3.0-5
+export META_VERSION=6.4.0-1
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-00668-g1a9452fde941
+Depends: linux-image-6.4.0-asahi-00514-gbb1ea272fd94
Provides: wireguard-modules (= 1.0.0)
Priority: optional
Architecture: arm64
rm -rf ${CARGO_HOME} ${RUSTUP_HOME}
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain none
source "$(pwd)/build/cargo/env"
-rustup override set 1.66.0
+rustup override set 1.68.2
rustup component add rust-src
cargo install --locked --version 0.56.0 bindgen
rustup component add rustfmt