summaryrefslogtreecommitdiff
path: root/eclass/linux-mod-r1.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/linux-mod-r1.eclass')
-rw-r--r--eclass/linux-mod-r1.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index 595711008627..73e7e7f8ff0b 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -1058,7 +1058,13 @@ _modules_sanity_kernelversion() {
ewarn "with the current kernel (${KV_FULL}), it was either hardly"
ewarn "tested or is known broken. It is recommended to use one of:"
ewarn
- ewarn " <=sys-kernel/gentoo-kernel-${max}"
+ # fwiw we do not know what is *actually* used or wanted even with
+ # the USE, so stay a bit vague and always mention both dist+sources
+ if use dist-kernel; then
+ ewarn " <=virtual/dist-kernel-${max} or"
+ else
+ ewarn " <=sys-kernel/gentoo-kernel-${max} or"
+ fi
ewarn " <=sys-kernel/gentoo-sources-${max}"
ewarn
ewarn "or equivalent rather than file downstream bug reports if run into"