mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
5.18.19-200 [rel]
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
FEDORA_KERNEL_VERSION=5.18.16-200.fc36
|
||||
PATCHES_GIT=https://github.com/Redecorating/mbp-16.1-linux-wifi
|
||||
PATCHES_COMMIT=0f18a8ee0e2eb7893222e3d0f433f75ce689aa91
|
||||
FEDORA_KERNEL_VERSION=5.18.19-200.fc36
|
||||
PATCHES_GIT=https://github.com/Redecorating/linux-t2-arch
|
||||
PATCHES_COMMIT=d1ba02f45198888016606b903f055a962de7eb81
|
||||
|
||||
# Dependencies
|
||||
dnf install -y fedora-packager git curl pesign ncurses-devel libkcapi libkcapi-devel libkcapi-static libkcapi-tools libbpf fedpkg rpmdevtools dwarves
|
||||
@@ -36,10 +36,9 @@ KERNEL_TMP="*"
|
||||
cd $KERNEL_TMP
|
||||
git clone --depth=1 https://github.com/t2linux/apple-bce-drv drivers/staging/apple-bce
|
||||
git clone --depth=1 https://github.com/t2linux/apple-ib-drv drivers/staging/apple-ibridge
|
||||
rm -rf drivers/staging/*/.git
|
||||
cd ..
|
||||
rm "$KERNEL_SRC"
|
||||
tar -cf "$KERNEL_SRC" "$KERNEL_TMP"
|
||||
tar -cJf "$KERNEL_SRC" "$KERNEL_TMP"
|
||||
|
||||
# Apply patches
|
||||
cd /root/rpmbuild/SPECS
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
Name: linux-t2
|
||||
Version: 5.18.9
|
||||
Version: 5.18.19
|
||||
Release: 1%{?dist}
|
||||
Summary: System configuration for linux on t2 macs.
|
||||
|
||||
@@ -8,7 +8,7 @@ URL: https://t2linux.org
|
||||
Source0: https://wiki.t2linux.org/tools/rmmod_tb.sh
|
||||
|
||||
%description
|
||||
Configuration files for linux on t2 macs. The linux-t2 kernel is necessary for this to work, and this must be installed to boot. Everything works except for TouchId, eGPU, and audio switching.
|
||||
Configuration files for linux on t2 macs. Everything works except for TouchId, eGPU, and audio switching.
|
||||
|
||||
%prep
|
||||
cp %{_sourcedir}/* %{_builddir}
|
||||
|
||||
Reference in New Issue
Block a user