This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
fuss:debian [2019/07/27 02:58] – [Reinstall Package and All Dependencies] office | fuss:debian [2020/02/28 05:41] – [Execute Java Program under Different JDK Version] office | ||
---|---|---|---|
Line 344: | Line 344: | ||
to set the java JDK version to be used. | to set the java JDK version to be used. | ||
+ | |||
+ | ====== Recompile Debian Kernel ====== | ||
+ | |||
+ | |||
+ | [[https:// | ||
+ | <code bash> | ||
+ | apt-get source linux-image-4.19.0-8-amd64 | ||
+ | </ | ||
+ | |||
+ | or download the kernel source code manually from http:// | ||
+ | |||
+ | Since Debian does not define the kernel compilation parameter to include the current kernel configuration in memory under ''/ | ||
+ | <code bash> | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | In case a different kernel version is to be compiled compared to the current kernel configuration, | ||
+ | <code bash> | ||
+ | make olddefconfig | ||
+ | </ | ||
+ | should accept the default for the current kernel version. | ||
+ | |||
+ | If compiling under Debian, the current configuration '' | ||
+ | < | ||
+ | CONFIG_SYSTEM_TRUSTED_KEYS="" | ||
+ | </ | ||
+ | in order to avoid a compilation error: | ||
+ | < | ||
+ | No rule to make target ' | ||
+ | </ | ||
+ | |||
+ | Additionally, | ||
+ | <code bash> | ||
+ | CONFIG_DEBUG_INFO=n | ||
+ | </ | ||
+ | |||
+ | The usual pair of commands, either '' | ||
+ | <code bash> | ||
+ | make nconfig | ||
+ | </ | ||
+ | |||
+ | or '' | ||
+ | <code bash> | ||
+ | make menuconfig | ||
+ | </ | ||
+ | |||
+ | Finally, issue: | ||
+ | <code bash> | ||
+ | make deb-pkg LOCALVERSION=-custom | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||