A profile for python-archinstall, that installs drivers and packages for T2 Macs.
Currently you must choose systemd-boot as your bootloader, grub will not work. See #3
ioreg -l | grep RequestedFiles
. Make sure you can refer to the
output of this command while your Mac is booted into the Arch Install ISO.Run the code block below, but first, there are a few options in archinstall that you must select or it won't work:
wget https://raw.githubusercontent.com/Redecorating/archinstall-mbp/main/apple-t2.py
# or use wget https://bit.ly/3amlr9v -O apple-t2.py
sh apple-t2.py
python -m archinstall
systemctl enable bluetooth
if you want it.Installs Archinstall to the live session if it's missing (as the latest MBP ISO was made before archinstall was included)
Patched 'linux-mbp' kernel
DKMS 'apple-bce' driver (keyboard, trackpad, audio)
DKMS 'apple-ibridge' driver (touchbar)
ALSA card profile for the T2 audio device (including alternate ones for 16 inch MacBooks, which have 6 speakers)
t2linux repo for updates to kernel
Installs WiFi firmware, walks you through selection
On MacBookPro15,4/16,X and MacBookAir9,1 models, installs a different version
of the brcmfmac
driver that was made for M1 Macs and works on those models.
NVRAM remount as read only because T2 likes to panic
Unload Touchbar driver before suspend to fix resume
Makes linux-mbp kernel the default kernel to boot with.
Installs iwd
and sets it as NetworkManager's WiFi backend.
TODO: