Nic Boet 7ca0a3cd37 sys-fs/bcachefs-tools: fix MODULES_OPTIONAL_IUSE, MODULES_KERNEL_MIN typo
USE=modules was declared in IUSE directly instead of via
MODULES_OPTIONAL_IUSE.  The linux-mod-r1 eclass only gates its exported
phases (pkg_setup, src_compile, src_install, pkg_postinst) through
_modules_check_function when MODULES_OPTIONAL_IUSE is set; without it all
kernel-related code runs unconditionally regardless of USE=-modules.  This
causes fatal failures in environments without a configured kernel source
tree (e.g. catalyst livecd-stage1, prefix installs, chroots).

The eclass documentation notes: "The typical recommended value is
+modules" and "modules being optional can be useful even if user space
tools require them (e.g. installing in a chroot or prefix when the
modules are loaded on the host)."

Also fix the MODDULES_KERNEL_MIN typo (double O) introduced in the same
commit that added USE=modules; the eclass reads MODULES_KERNEL_MIN so the
minimum kernel version check of 6.16 was silently ignored.

Signed-off-by: Nic Boet <nic@boet.cc>
Part-of: https://github.com/gentoo/gentoo/pull/46389
Closes: https://github.com/gentoo/gentoo/pull/46389
Signed-off-by: Sam James <sam@gentoo.org>
2026-06-11 10:29:45 +01:00
2026-05-28 15:49:54 +01:00
2026-06-08 05:56:33 +02:00
2026-06-07 23:46:28 +01:00
2026-06-10 15:35:08 +01:00
2026-05-30 10:00:08 +02:00
2026-06-11 09:23:25 +01:00
2026-05-13 17:11:35 -04:00
2026-06-10 20:52:52 +02:00
2026-06-11 04:44:10 +02:00
2026-06-05 17:54:54 +01:00
2026-06-06 16:38:38 +01:00
2026-06-06 22:21:19 +02:00
2026-06-09 23:35:35 +02:00
2026-06-11 09:26:33 +01:00
2026-06-07 11:14:12 +02:00
2026-06-06 16:38:41 +01:00
2026-06-04 23:26:55 +01:00
2026-06-10 08:13:30 +02:00
2026-06-10 16:12:49 -04:00
2026-06-10 02:32:02 +01:00
2026-06-05 11:48:10 +02:00
2026-06-11 10:48:53 +03:00
2026-06-07 14:00:13 +02:00
2026-06-11 03:36:17 +01:00
2026-06-07 11:14:10 +02:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%