Files
gentoo/eclass/dist-kernel-utils.eclass
Michał Górny 787f6641da dist-kernel-utils.eclass: Fix updating src symlink for new g-k-bin
Add a hack to update the /usr/src/linux symlink when upgrading from the
older (suffixed "-gentoo-dist") versions of sys-kernel/gentoo-kernel-bin
to the newer ones (suffixed "-gentoo-dist-bin").  As a heuristic, assume
it is fine to switch from "-gentoo-dist" to "gentoo-dist-bin" if
sys-kernel/gentoo-kernel is not installed (as these packages used to be
mutually exclusive with gentoo-kernel-bin).

Closes: https://bugs.gentoo.org/977372
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1163
2026-06-14 20:15:46 +02:00

15 KiB