Debian-news is about one simple thing - news about Debian GNU/Linux and the top free distributions based on Debian GNU/Linux.


 

Compiling linux kernel on debian

Here are the steps to compile a kernel from source in debian based systems. These steps have worked successfully on debian 6.0 (linux 2.6.32) – You will need a package by the name kernel-package, which implements the commands required for compilation, hence run Read more here

One Response to “Compiling linux kernel on debian” »

  1. Comment by Orda — June 7, 2012 @ 12:05 pm

    Snippet from oh-my-zsh:

    # Kernel-package building shortcut
    kerndeb () {
    # temporarily unset MAKEFLAGS ( ‘-j3′ will fail )
    MAKEFLAGS=$( print – $MAKEFLAGS | perl -pe ‘s/-j\s*[\d]+//g’ )
    print ‘$MAKEFLAGS set to ‘”‘$MAKEFLAGS'”
    appendage=’-custom’ # this shows up in $ (uname -r )
    revision=$(date +”%Y%m%d”) # this shows up in the .deb file name

    make-kpkg clean

    time fakeroot make-kpkg –append-to-version “$appendage” –revision \
    “$revision” kernel_image kernel_headers
    }

RSS feed for comments on this post. TrackBack URI

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Debian-News is not related to the Debian Project.
All logos and trademarks on this site are property of their respective owners.