Skip to content

Instantly share code, notes, and snippets.

@fcayci
Created March 17, 2017 14:00
Show Gist options
  • Save fcayci/8e66f90ac8684518a9928c08bd2d8396 to your computer and use it in GitHub Desktop.
Save fcayci/8e66f90ac8684518a9928c08bd2d8396 to your computer and use it in GitHub Desktop.
Custom kernel
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/XX.bz2
make clean && make mrproper
cp /boot/config-`uname -r` ./.config
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment