This is an old revision of the document!


Linux kernel

Compiling the debian way

 bzip2 -dc /usr/src/patch.bz2 | patch -p1 --dry-run
 make-kpkg clean
 fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

After –append-to-version= you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace.

kernel lab

kernellab − manage kernel configs for many machines easily

apt-get install kernellab

usage:

 kernellab [options] <host> [<version>[−ac<patchlevel>] [<module>..]]

or more advance :)

 for a in router1 router2 router3 ...; do kernellab "$a"; done
linux/kernel.1162751042.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready