(
test -d m1n1 || git clone --recursive https://github.com/AsahiLinux/m1n1
cd m1n1
- git fetch
+ git fetch --all
# 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`
handle_crosscompile
test -d u-boot || git clone https://github.com/AsahiLinux/u-boot
cd u-boot
- git fetch
+ git fetch --all
# 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
curl -s https://tg.st/u/0001-usb-storage-continue-probe-on-Invalid-device.patch | git am -