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-02-24 09:12:59 +01:00
|
|
|
# Nobara patches are here: https://github.com/sammilucia/nobara-kernel-fork
|
|
|
|
# Allow setting custom pollrates for usb devices
|
2023-06-06 18:53:04 +02:00
|
|
|
patch -Np1 < "../patches/0003-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-06-06 18:53:04 +02:00
|
|
|
patch -Np1 < "../patches/0004-amdgpu-si-cik-default.patch"
|