From dd110f769d26d207aa428b58a8f37c25cff5f642 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sat, 1 Oct 2022 11:31:22 -0700 Subject: [PATCH] 5.19.12-200 [rel] --- README.md | 20 +++++++++++--------- build.sh | 10 +++++----- t2linux-config.spec | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index aa6ef5f..7c08870 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # t2linux-fedora-kernel + Patched kernel for fedora linux on T2 macs. It mostly works, but dont expect a MacOS like experience. If you have problems with wifi, follow the guide on the wiki. A dnf/yum repo is avaliable at [`https://t2linux-fedora-repo.netlify.app/repo/t2linux-fedora.repo`](https://t2linux-fedora-repo.netlify.app/repo/t2linux-fedora.repo). Follow the [wifi guide](https://wiki.t2linux.org/guides/wifi/). Installing the wifi firmware will also enable bluetooth. The internal drive, camera, mic, and keyboard/trackpad **are** working. Wifi and bluetooth woork with some extra steps, see below. The fingerprint reader is not working. Make sure to leave some space for MacOS, it is the only way to get firmware updates. Look at [https://wiki.t2linux.org/state/](https://wiki.t2linux.org/state/) for the latest state of hardware enablement. @@ -11,14 +12,15 @@ Follow the [wifi guide](https://wiki.t2linux.org/guides/wifi/). Installing the w ## Instalation - 1. Partition disks using Bootcamp Assistant, but dont install windows - 2. Write the [t2linux-fedora-iso](https://github.com/sharpenedblade/t2linux-fedora-iso) to a bootable drive. - 3. Install Fedora like normal until you get to partitioning disks - 4. On the partitioning screen, select the partition you created from MacOS, and use it for free space. Make sure to leave the MacOS partition. - 5. Reboot while holding *option* +1. Partition disks using Bootcamp Assistant, but dont install windows +2. Write the [t2linux-fedora-iso](https://github.com/sharpenedblade/t2linux-fedora-iso) to a bootable drive. +3. Install Fedora like normal until you get to partitioning disks +4. On the partitioning screen, select the partition you created from MacOS, and use it for free space. Make sure to leave the MacOS partition. +5. Reboot while holding *option* ### TODO - - Signing the package - - Using upstream shim. - - Signed kernel modules - - Automaticaly seting up Wifi firmware + +- Signing the package +- Using upstream shim. +- Signed kernel modules +- Automaticaly seting up Wifi firmware diff --git a/build.sh b/build.sh index 4a977d8..201c9e3 100755 --- a/build.sh +++ b/build.sh @@ -1,8 +1,8 @@ #!/bin/bash -FEDORA_KERNEL_VERSION=5.19.11-200.fc36 +FEDORA_KERNEL_VERSION=5.19.12-200.fc36 PATCHES_GIT=https://github.com/Redecorating/linux-t2-arch -PATCHES_COMMIT=5355ddb032ff65577d3c9d1bc8f0ff80eeaaa359 +PATCHES_COMMIT=ede033e1549091cda1471114f9d77f1053c40132 echo "=====INSTALLING DEPENDENCIES=====" dnf install -y fedpkg koji fedora-packager git curl pesign ncurses-devel libbpf fedpkg rpmdevtools ccache openssl-devel libkcapi libkcapi-devel libkcapi-static libkcapi-tools @@ -25,7 +25,7 @@ mkdir /tmp/download && cd /tmp/download git clone --single-branch --branch main ${PATCHES_GIT} cd * git checkout ${PATCHES_COMMIT} -rm -rf 0001-arch-additions.patch 2013-aaudio-set-the-card-driver-name-to-AppleT2x-channel-.patch +rm -rf 0001-arch-additions.patch echo "=====PREPARING SOURCES=====" cd ~/rpmbuild/SPECS @@ -46,8 +46,8 @@ KERNEL_TMP="$KSV.new" cd $KERNEL_TMP echo "=====PATCHING SOURCE TREE=====" -git clone https://github.com/kekrby/apple-bce drivers/staging/apple-bce -cd drivers/staging/apple-bce && git checkout 9b59e0a8cd0aff218dacc88e64e113b51ced2818 +git clone https://github.com/t2linux/apple-bce-drv drivers/staging/apple-bce +cd drivers/staging/apple-bce && git checkout f93c6566f98b3c95677de8010f7445fa19f75091 cd $KERNEL_TMP git clone https://github.com/Redecorating/apple-ib-drv drivers/staging/apple-ibridge cd drivers/staging/apple-ibridge && git checkout 467df9b11cb55456f0365f40dd11c9e666623bf3 diff --git a/t2linux-config.spec b/t2linux-config.spec index 1d804ae..afda50a 100644 --- a/t2linux-config.spec +++ b/t2linux-config.spec @@ -1,5 +1,5 @@ Name: linux-t2 -Version: 5.19.11 +Version: 5.19.12 Release: 1%{?dist} Summary: System configuration for linux on t2 macs. License: MIT