ipfire-3.x/kernel
Michael Tremer 9a9607f567 kernel: Update to 6.6
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-11-01 08:27:25 +00:00
..
scripts kernel: Refactor configure script 2022-12-13 16:51:18 +00:00
systemd kernel: Correctly set cpupower governor. 2012-07-06 13:14:00 +02:00
README.md kernel: configure: Pass arch as an extra argument 2018-12-30 14:20:51 +00:00
config-aarch64-generic kernel: Update to 6.6 2023-11-01 08:27:25 +00:00
config-generic kernel: Update to 6.6 2023-11-01 08:27:25 +00:00
config-x86_64-generic kernel: Update to 6.6 2023-11-01 08:27:25 +00:00
kernel.nm kernel: Update to 6.6 2023-11-01 08:27:25 +00:00

README.md

Kernel

Configuration

Layout

The kernel configuration files are split into individual configuration files for each architecture. This way, common options can be changed globally and can be overwritten for certain architectures which gives us a more consistent configuration across all architectures.

How to update the configuration?

For these steps, you will have to change into a build environment and change to the kernel directory:

pakfire-builder shell kernel.nm

(pakfire-shell)> cd /usr/src/packages/kernel-x.y.z...

The following commands are available. Appending the argument allows you to edit a specific architecture. Default is x86_64.

oldconfig

You can run this when updating the kernel to a new release or after changing any options manually. All unset or updated options will be prompted for and all configuration files for all architectures will be updated.

(pakfire-shell)> scripts/configure oldconfig

olddefconfig

Like oldconfig, but automatically answers all options with the default value.

(pakfire-shell)> scripts/configure olddefconfig

menuconfig

If you want to edit the configuration using the kernel's config editor. All configuration files will be updated afterwards and potentially prompted for options that diverge for different architectures.

(pakfire-shell)> scripts/configure menuconfig

listnewconfig

This will list all unset options.

(pakfire-shell)> scripts/configure listnewconfig