Le mar 15/10/2002 � 09:38, Fabian Vilers a �crit :
> OK, en fait je proc�dais de cette fa�on:
> 
> si le bzImage.test fonctionn, je le renomme en bzImage tout simplement, sans
> recompiler. Je pensais pouvoir r�cup�rer son nom qq part, tant pis.

Le moyen le plus "simple".
Avant de compiler ton kernel, tu �dite le fichier Makefile.
Tu vas trouver dans les toutes permi�res lignes une EXTRAVERSION
L�, tu peux mettre ce que tu veux mais attention, cela va modifier
�galement le nom du r�pertoire de tes modules.

Exemple: 
$ cat /usr/src/linux/Makefile | grep EXTRAVERSION
EXTRAVERSION =-686

$ ls -l /lib/modules/
total 12
drwxr-xr-x   12 root     root         4096 2002-09-03 11:24 2.2.20
drwxr-xr-x    3 root     root         4096 2002-09-03 13:50 2.4.19
drwxr-xr-x    5 root     root         4096 2002-09-03 18:32 2.4.19-686

J'utilise la m�me logique pour le fichier bzImage, le System.map et
initrd.img.
Exemple: 

-rw-r--r--    1 root     root      2752512 2002-09-03 13:43
/boot/initrd.img-2.4.19-686
-rw-r--r--    1 root     root       423760 2002-08-11 05:00
/boot/System.map-2.4.19-686
-rw-r--r--    1 root     root       647416 2002-08-11 05:00
/boot/vmlinuz-2.4.19-686

Lorsque tu fais ceci, ton uname -a va te dire:

$ uname -a
Linux Laptop-EK 2.4.19-686 #1 Thu Aug 8 21:30:09 EST 2002 i686 unknown
unknown GNU/Linux


En esp�rant que cela te soit utile.
-- 
Kennedy van Dam Eric
Multitel ASBL
Administrateur Syst�me - Ing�nieur Certifi� RedHat
Url:http://www.multitel.be
Mail: [EMAIL PROTECTED]


_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[email protected]
IRC: efnet.skynet.be:6667 - #unixtech

Répondre à