[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel compile



Olivier Abad wrote:
 
> On lun, oct 23, 2000 at 10:47:19 +0000, robin wrote:
> > bonjour,
> >
> >  Voila:
> >  j'ai fait apt-get kernel-source-2.2.17 et maintenant
> >  kernel-source-2.2.17.tar.bz2 se trouve dans /usr/src.
> >
> >  Je suppose que maintenant il faut faire :
> >
> >  bunzip2 kernel-source-2.2.17.tar.bz2
> >  tar xf kernel-source-2.2.17.tar.bz2
> 
> ou tar Ixf kernel-source-2.2.17.tar.bz2
> 
> >  Mais apres ?
> >  faut-il faire make xconfig dans kernel-source-2.2.17
> >  puis faire les make -kpkg qui vont se debrouiller tout
> >  seul pour tout installer ou y a-t-il des choses a faire
> >  a la main avant ? ou apres ?
> >  le fichier README doit-il etre ignore completement au profit
> >  du fichier debian.README.gz ?
> 
> Extrait de /usr/share/doc/kernel-package/README.gz :
> 
>  For the Brave and the impatient:
> Phase ONE: Getting and configuring the kernel
>  1% cd <kernel source tree>
>  2% make config   # or make menuconfig or make xconfig and configure
> Phase TWO: Create a portable kernel image .deb file
>  3% make-kpkg clean
>  4% $Get_Root make-kpkg --revision=custom.1.0 kernel_image
>       (Get_Root is whatever you need to become root -- fakeroot or
>       sudo are examples that come to mind).
> Phase THREE: Install the kernel image on one or more machines
>  5# dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb
>  6# shutdown -r now # If and only if LILO worked or you have a means of
>                     # booting the new kernel. YOU HAVE BEEN WARNED!!
> 
> Olivier

Merci pour la reponse,
je suppose que dans la ligne :
  "make-kpkg --revision=custom.1.0 kernel_image"
on doit remplacer kernel_image par zImage ou bzImage ?

Par ailleur lorsque je lance make -kpkg clean je recois:

no files, no impossibilities  in 0 directories
no implicite rules
no pattern specific variable values
no files
no 'vpath' search paths
no general ('VPATH variable ) search path

pourtant j'ai fait make xconfig dans kernel-source-2.2.17
et j'ai valide les changements que j'ai faits.

Lors d'un essai precedent en ayant fait les memes choses,
mais en utilisant make tout s'etait bien passe sauf
qu'a la fin on ne sait pas quoi faire avec vmlinuz tout seul.

ben pourquoi make -kpkg ne voit pas de fichiers ni
de regles alors que make les voit ?

Merci et excuse moi pour ces questions idiotes mais
je ne vois pas comment faire.

                                  Gerard.



Reply to: