Last active
January 21, 2020 13:52
-
-
Save Matheus-Garbelini/f1c2ae1e93035ca66a7f97977f6a9c61 to your computer and use it in GitHub Desktop.
Create realtime linux kernel (preempt_rt 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
KERNEL_VER=4.9.115 | |
RT_PATCH_VER=93 | |
CURRENT_KERNEL=`uname -r` | |
tar -xzvf linux-$KERNEL_VER.tar.gz | |
cd linux-$KERNEL_VER | |
gzip -cd ../patch-$KERNEL_VER-rt$RT_PATCH_VER.patch.gz | patch -p1 --verbose | |
cp /boot/config-$CURRENT_KERNEL .config # get config file from current kernel | |
make -j9 | |
sudo make modules_install -j9 | |
sudo make install -j9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment