mise-à-jour
This commit is contained in:
parent
e0cdf36353
commit
7eae86ed1a
|
@ -141,22 +141,12 @@ Pour l'installer :
|
||||||
## Compilation "à la sauce Debian"
|
## Compilation "à la sauce Debian"
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# apt install kernel-package build-essential kmod
|
# apt install kernel-package build-essential kmod xz-utils
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Installer des outils pour gérer les modules :
|
|
||||||
|
|
||||||
modutils (noyaux 2.4)
|
|
||||||
module-init-tools (noyaux 2.6)
|
|
||||||
|
|
||||||
Modifier éventuellement le fichier /etc/kernel-pkg.conf puis lancer la compilation :
|
Modifier éventuellement le fichier /etc/kernel-pkg.conf puis lancer la compilation :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
$ make-kpkg clean
|
$ make-kpkg clean
|
||||||
$ make-kpkg --rootcmd fakeroot \
|
$ make-kpkg -j4 --append-to-version=-foo --initrd buildpackage
|
||||||
--revision 42 \
|
|
||||||
--append-to-version=-grsec-srv-xeon \
|
|
||||||
--stem linux kernel_image kernel_headers
|
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
*Note* : Pour faire apparaître *-grsec* dans le nom des noyaux et pas seulement dans le *localversion*, on l'ajoute à l'option `--append-to-version` et on efface le fichier `localversion.grsec` à la racine du noyau.
|
|
||||||
|
|
Loading…
Reference in a new issue