projectmoon-overlay/metadata/news/2023-03-05-libre-kernel-gen.../2023-03-05-libre-kernel-gen...

28 lines
1.1 KiB
Plaintext

Title: Libre Kernel Gentoo USE Flag and Fixes
Author: Yuan Liao <liaoyuan@gmail.com>
Posted: 2023-03-01
Revision: 1
News-Item-Format: 2.0
The latest libre-kernel ebuild (6.1.2) has been revised to support a new
gentoo USE flag, as well as fixes to the kernel configuration version.
The new USE flag applies a subset of the Gentoo kernel patchset (from
the gentoo-kernel package) to the Linux-libre kernel source. Most of the
patches apply, but the larger patchsets for the kernel do not, in many
cases because it seems like those patches have already been applied to
the upstream source.
Applying of the Gentoo kernel patchset is controlled by the new local
USE flag gentoo. It is enabled by default. The USE flag can be disabled
by turning it off in /etc/portage/package.use:
sys-kernel/libre-kernel -gentoo
Note: whether or not the USE flag is enabled, the patch for the default
Gentoo kernel configuration will always be applied.
Additionally, the Gentoo kernel config version has been fixed in the r1
ebuild. The kernel configuration applied was being used from a 5.x
build. In the future, the correct kernel config version will follow the
gentoo-kernel package.