Diferencias entre las revisiones 6 y 7
Versión 6 con fecha 2019-09-03 15:30:20
Tamaño: 1241
Comentario:
Versión 7 con fecha 2019-09-03 15:31:45
Tamaño: 1351
Comentario:
Los textos eliminados se marcan así. Los textos añadidos se marcan así.
Línea 40: Línea 40:
 * Borrar referencia a certificado antiguo (https://www.kernel.org/doc/html/v4.14/admin-guide/module-signing.html).  * Borrar referencia a certificado antiguo ([[https://www.kernel.org/doc/html/v4.14/admin-guide/module-signing.html|https://www.kernel.org/doc/html/v5.2/admin-guide/module-signing.html?highlight=config_system_trusted_keys]]).

Generando un nuevo kernel en Debian.

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.11.tar.xz
  • Descomprimir en /usr/src/

tar axvf linux-5.2.11.tar.xz
  • Ingresar al directorio.

cd /usr/src/linux-5.2.11
  • Limpiar el directorio de configuraciones anteriores.

make distclean
make clean
  • Copiar configuracion de kernel activo anterior.

cp /boot/config-4.19.0-5-amd64 .config
  • Configurar opciones del kernel (consultará sobre las nuevas características del nuevo kernel).

make oldconfig
  • Deshabilitar debug kernel info en .config (evitará generar una imagen linux-dbg)

vim .config
CONFIG_DEBUG_INFO=n

vim .config
CONFIG_SYSTEM_TRUSTED_KEYS=""
  • Compilar y generar paquete .deb

make deb-pkg
  • Instalar nuevo kernel (actualiza grub)

dpkg -i linux-image.deb
  • Reiniciar.

Shutdown -r now

Referencia: https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-building

kernel (última edición 2020-10-08 12:51:51 efectuada por AlejandroValdes)