Monday, November 29, 2010

Debian Linux system introduction to compile the kernel standard way

Debian standard way concerned about kernel-package, gcc, binutils and modutils error reports.

When you need to use the newer version. In the Debian system with source code to compile a custom kernel should be especially careful. Use make-kpkg--append_to_version option to create multiple kernel image comparison security. # Apt-getinstalldebhelpermodutilskernel-packagelibncurses5-dev # apt-getinstallkernel-source-2.4.18 # using the latest version # apt-getinstallfakeroot # vi/etc/kernel-pkg.conf # enter my name and email $ cd/usr/src # tar to create the directory $ — $ bzip2-xvfkernel-source-2.4.18.tar.bz2 cdkernel-source-2.4.18 # if this is the kernel source $ cp/boot/config-2.4.18-386.config # the current configuration settings to the default configuration makemenuconfig # according to their preferences to customize $ make-kpkgclean # must perform this step (per: manmake-kpkg) $ fakerootmake-kpkg append_to_version-486 — — — — — — revision initrd = rev.01kernel_imagemodules_image # modules_image can be pcmcia-cs *, etc. $ Cd ... # dpkg-ikernel-image * .debpcmcia-cs * .deb # install make-kpkgkernel_image actually perform the makeoldconfig and makedep. If you do not use initrd don't use--initrd options. If you want to load the kernel module or pcmcia-cs pcmcia source isn't in the module, you should select "after the makemenuconfig Generalsetup — >" entered the "PCMCIA/CardBussupport — >" "<>, configure PCMCIA/CardBussupport" option (for example, uncheck the item). For SMP machines, reference kernel-pkg.conf (5) instructions for setting up CONCURRENCY_LEVEL.

No comments:

Post a Comment