linux-pikaos-template/scripts/patch.sh

25 lines
1.1 KiB
Bash
Raw Normal View History

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-03-12 20:40:20 +01:00
# orig patch from cachy - 0001-bore-eevdf.patch
2023-03-12 21:10:24 +01:00
patch -Np1 < "../patches/0003-bore.patch"
2023-02-22 16:23:11 +01:00
# HDR patch - from cachy (but they deleted it)
2023-03-12 21:10:24 +01:00
patch -Np1 < "../patches/0004-hdr.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-02-25 16:15:44 +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"
2023-02-24 09:12:59 +01:00
# Disable mt76 buggy aspm
2023-02-25 16:15:44 +01:00
patch -Np1 < "../patches/mt76_-mt7921_-Disable-powersave-features-by-default.patch"
2023-02-24 09:12:59 +01:00
# Make PS4 controllers have 1000hz pollrate over bluetooth like the actual console
2023-02-25 16:15:44 +01:00
patch -Np1 < "../patches/set-ps4-bt-poll-rate-1000hz.patch"