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-06-15 22:29:32 +02:00
|
|
|
patch -Np1 < "../patches/0002-eevdf.patch"
|
|
|
|
# orig patch from cachy
|
2023-06-15 13:44:41 +02:00
|
|
|
patch -Np1 < "../patches/0002-eevdfbore.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-14 21:49:41 +02:00
|
|
|
patch -Np1 < "../patches/0004-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-14 21:49:41 +02:00
|
|
|
patch -Np1 < "../patches/0005-amdgpu-si-cik-default.patch"
|