Created
October 31, 2018 10:04
-
-
Save etaf/08be506e7a7d29c93061c05df78d1111 to your computer and use it in GitHub Desktop.
compile linux kernel
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
find the corresponding source, eg 4.15 | |
apt search linux-source | |
sudo apt-get install linux-source-4.15.0 | |
cd /usr/src/linux-source-4.15.0/linux-source-4.15.0/ | |
cp /boot/config-`uname -r` .config && make olddefconfig | |
#now we can modify the config | |
make -j `getconf _NPROCESSORS_ONLN` deb-pkg | |
dpkg -i linux-*.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment