This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# Lenovo Legion 5 Patch Utility | |
# | |
# This script aims to simplify the application of various patches required for Lenovo Legion 5 15ARH05. | |
# For convenience you can run this script with `bash <(curl https://gist.githubusercontent.com/jbuncle/7dacde983b3c33b3b816b10e2fd2308a/raw/build-patched-kernel.sh)` | |
# | |
# References: | |
# - Original bug and related patch: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190 | |
# - Touchpad patch file: https://www.spinics.net/lists/linux-input/msg69458.html |