Created
April 19, 2019 14:39
-
-
Save pandada8/64e5250bb68b4dfb59b2c3fa1c364f97 to your computer and use it in GitHub Desktop.
Build ubuntu kernel package with your own patch
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
# checkout repo | |
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git ubuntu-bionic | |
# install related stuff | |
apt build-dep linux-image-$(uname -r) | |
apt install libncurses5-dev libudev-dev libssl-dev | |
# patch -p1 < you patch | |
make oldconfig | |
make -j $(nproc) deb-pkg LOCALVERSION=-your-suffix | |
# wait for serveral minutes/hours |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment