A referencia exaustiva de como compilar o kernel debian way
Submetido por JoaoCarneiro a Domingo, 2007-08-19 13:45.
e lá estava ela, debaixo do nariz como é costume... e eu a procurar no google...
zless /usr/share/doc/kernel-package/README.gz
- o blogue de JoaoCarneiro
- Clique Iniciar Sessão ou registar-se para colocar comentários
- 406 leituras






Comentários
Howto
Este howto explica como compilar o kernel em Debian: http://www.howtoforge.com/kernel_compilation_debian_etch
É bastante simples; até eu me oriento. :)
apesar de não ser bem o que
apesar de não ser bem o que queria, quase me esquecia de agradecer a dica :)
::-------------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"
o que procurava não era a
o que procurava não era a simplicidade - que de facto é extremamente simples compilar um kernel com as ferramentas da debian - mas sim um documento que explicasse mais profundamente todo o processo, com todas as possibilidades :)
ora repara neste texto:
Foot note 1:
For an explanation on why this synchronization is required, consider
this. The kernel knows what version it is, as given in the kernel
Makefile as the variables VERSION, PATCHLEVEL, and SUBLEVEL. It will
look for the modules in /lib/modules/$VERSION.$PATCHLEVEL.$SUBLEVEL.
The Debian scripts think they know what the kernel version is, as
given in the Debian file rules as the variable v (near the top). It
then proceeds to put the modules in /lib/modules/$v. So, it is
essential that the kernel (Makefile) and the Debian script (rules)
agree about the version number, or the kernel will never figure out
where the Debian scripts hid the modules. So change the version
number in the file rules (v = X.X.XX) to be the same version as
given in the kernel Makefile (this will be
$VERSION.$PATCHLEVEL.$SUBLEVEL).
:----------------------------------
"Knowledge is power, wisdom is the way. Learn something new every day!"