Created
September 5, 2020 07:01
-
-
Save phdelodder/0a7860fb10189970aef5f62c395e9b7e to your computer and use it in GitHub Desktop.
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 | |
#install required packages: | |
sudo apt install git-core lintian build-essential automake autoconf libtool | |
sudo apt install debhelper python3-stdeb sphinx-common asciidoc-base bison flex libdw-dev libelf-dev libiberty-dev libnuma-dev libslang2-dev libssl-dev lz4 xmlto zlib1g-dev | |
#get the source | |
cd ~/src | |
sudo rm -rf pve-kernel | |
git clone git://git.proxmox.com/git/pve-kernel.git --depth 1 | |
cd pve-kernel | |
#get the custom patch(es) | |
#https://forum.level1techs.com/t/navi-reset-kernel-patch/147547 | |
cp ~/bin/navi-reset-kernel.patch patches/kernel | |
#compile the kernel | |
sudo make | |
#install the kernel | |
sudo dpkg -i *.deb | |
echo "reboot is recommended" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment