This file contains hidden or 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 | |
set -e | |
KERNEL_VER="6.12" | |
sudo apt install -y git build-essential fakeroot libncurses5-dev libssl-dev ccache dpkg-dev libelf-dev debhelper-compat libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf llvm | |
# Clone the kernel | |
mkdir -p kernelbuild | |
cd kernelbuild | |
if [ ! -d "linux-stable" ] ; then |