• Build debian kernel

    Install required packages

    sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc
    sudo apt-get --no-install-recommends install kernel-package
    Download kernel
    wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz
    Unzip
    unxz linux-4.4.tar.xz
    tar xvf linux-4.4.tar
    Copy your config file and configure
    cd linux-4.4
    $ cp /boot/config-$(uname -r) .config

    make menuconfig
    Compile
    make-kpkg clean
    fakeroot make-kpkg --initrd --revision=1.0.myname kernel_image kernel_headers -j 4
    Install
    sudo dpkg -i ...


1111111