Ce paquetage contient une archives contenant les sources, l'archive est installée dans /usr/src/redhat/source/ (où qqch comme ca). Faut encore l'extraire dans /usr/src/
Moi je n'ai pas eut besoin de faire cela...
quand je vais un rpm -ivh kernel.src.rpm j'obtiens:
/usr/src/kernels/2.6.11-1.1369_FC4-x86_64/ # ce sont les sources (d'ailleur je crois qu'elles ont changées de place)
Il y a bien un /usr/src/redhat/SOURCES/linux-2.6.11.tar.bz2
mais je n'ai jamais eut besoin de le decompresser.
Dans le readme de cette archive il est expliqué comment installer les sources:
- You can also upgrade between 2.6.xx releases by patching. Patches are distributed in the traditional gzip and the new bzip2 format. To install by patching, get all the newer patch files, enter the top level directory of the kernel source (linux-2.6.xx) and execute:
gzip -cd ../patch-2.6.xx.gz | patch -p1
or
bzip2 -dc ../patch-2.6.xx.bz2 | patch -p1
(repeat xx for all versions bigger than the version of your current source tree, _in_order_) and you should be ok. You may want to remove the backup files (xxx~ or xxx.orig), and make sure that there are no failed patches (xxx# or xxx.rej). If there are, either you or me has made a mistake.
Alternatively, the script patch-kernel can be used to automate this process. It determines the current kernel version and applies any patches found.
linux/scripts/patch-kernel linux
The first argument in the command above is the location of the kernel source. Patches are applied from the current directory, but an alternative directory can be specified as the second argument.
- Make sure you have no stale .o files and dependencies lying around:
cd linux
make mrproper
You should now have the sources correctly installed.
Mais dans mon cas rpm -Uvh kernel.src.rpm suffit (ou -ivh)
Je n'ai pas eut besoin de spécifier un argument spécial au script nvidia... -> conflit dans les liens symboliques?
Ps: Je n'ai pas eut l'avertissement pour le kernel 2.4.xxx