summaryrefslogtreecommitdiff
path: root/eclass/linux-mod-r1.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-30 09:20:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-30 09:20:33 +0100
commit70e4bd5c8f26b1f2baeb5146a841273b2cb15179 (patch)
tree82c39dda2ba79ec0993746bf42651c18a4beb137 /eclass/linux-mod-r1.eclass
parent37c470b10802509995e7ae6a6886506f79540dd8 (diff)
gentoo auto-resync : 30:05:2023 - 09:20:33
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"