2023-02-22 16:23:11 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Pika Kernel - Applying patches"
|
|
|
|
|
|
|
|
# Cachy patches are here: https://github.com/CachyOS/kernel-patches/
|
|
|
|
# orig patch from cachy - 0001-cachyos-base-all.patch
|
|
|
|
patch -Np1 < "../patches/0001-cachy-all.patch"
|
2023-03-12 20:40:20 +01:00
|
|
|
# orig patch from cachy
|
2023-03-12 21:10:24 +01:00
|
|
|
patch -Np1 < "../patches/0002-eevdf.patch"
|
2023-04-10 21:36:24 +02:00
|
|
|
# orig patch from cachy - 0001-bore-eevdf.patch - looks to not exist for 6.3 so switch to eevdf/cfs
|
|
|
|
#patch -Np1 < "../patches/0003-bore.patch"
|
|
|
|
# HDR patch - Currently broken against 6.3
|
|
|
|
#patch -Np1 < "../patches/0004-hdr.patch"
|
2023-04-10 19:42:41 +02:00
|
|
|
# Nintendo controller rumble patch
|
|
|
|
patch -Np1 < "../patches/0006-Nintendo-controller-one.patch"
|
|
|
|
# Nintendo controller BT patch
|
|
|
|
patch -Np1 < "../patches/0006-Nintendo-controller-two.patch"
|
2023-02-24 09:12:59 +01:00
|
|
|
# Nobara patches are here: https://github.com/sammilucia/nobara-kernel-fork
|
|
|
|
# Extra Leigon laptop goodies
|
2023-03-21 22:24:06 +01:00
|
|
|
patch -Np1 < "../patches/0001-Add-legion-laptop-v0.1.patch"
|
2023-02-24 09:12:59 +01:00
|
|
|
# Allow setting custom pollrates for usb devices
|
2023-02-25 16:15:44 +01:00
|
|
|
patch -Np1 < "../patches/0001-Allow-to-set-custom-USB-pollrate-for-specific-device.patch"
|
2023-02-24 09:12:59 +01:00
|
|
|
# Allow pre polaris cards to use the amdgpu kernel module
|
2023-02-25 16:15:44 +01:00
|
|
|
patch -Np1 < "../patches/amdgpu-si-cik-default.patch"
|