linux-pikaos-template/scripts/patch.sh

28 lines
1.2 KiB
Bash
Raw Normal View History

2023-02-22 16:23:11 +01:00
#!/bin/bash
echo "Pika Kernel - Applying patches"
2023-02-25 15:59:59 +01:00
# WE want linux-tools so patch em in
patch -Np1 < "../patches/0000-linux-tools.patch"
2023-02-22 16:23:11 +01:00
# 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"
# orig patch from cachy - 0001-Add-latency-priority-for-CFS-class.patch
patch -Np1 < "../patches/0002-cfs-nice.patch"
# orig patch from cachy - 0001-bore-cachy.patch
patch -Np1 < "../patches/0003-bore.patch"
# HDR patch - from cachy (but they deleted it)
2023-02-24 09:12:59 +01:00
patch -Np1 < "../patches/0004-hdr.patch"
# Nobara patches are here: https://github.com/sammilucia/nobara-kernel-fork
# Extra Leigon laptop goodies
patch -Np1 < "../0001-Add-legion-laptop-v0.1.patch"
# Allow setting custom pollrates for usb devices
patch -Np1 < "../0001-Allow-to-set-custom-USB-pollrate-for-specific-device.patch"
# Allow pre polaris cards to use the amdgpu kernel module
patch -Np1 < "../amdgpu-si-cik-default.patch"
# Disable mt76 buggy aspm
patch -Np1 < "../mt76_-mt7921_-Disable-powersave-features-by-default.patch"
# Make PS4 controllers have 1000hz pollrate over bluetooth like the actual console
patch -Np1 < "../set-ps4-bt-poll-rate-1000hz.patch"