1 |
On Thu, Jun 20, 2019 at 11:20 AM Grant Taylor |
2 |
<gtaylor@×××××××××××××××××××××.net> wrote: |
3 |
> |
4 |
> After the good input that I received in the "Preventing new versions of |
5 |
> gentoo-sources…" thread, I figured I'd ask this question: |
6 |
> |
7 |
> Is there a way to cause ebuild file to limit the version of other |
8 |
> packages, e.g. net-misc/openvswitch's limiting sys-kernel/gentoo-sources |
9 |
> to a supported kernel version? |
10 |
> |
11 |
> Open vSwitch 2.10 (current non-testing) supports kernel versions 3.10 to |
12 |
> 4.17. (http://docs.openvswitch.org/en/latest/faq/releases/) |
13 |
|
14 |
See some ebuilds like x11-drivers/nvidia-drivers/nvidia-drivers-430.14.ebuild |
15 |
|
16 |
if use kernel_linux && kernel_is ge 5 2; then |
17 |
ewarn "Gentoo supports kernels which are supported by NVIDIA" |
18 |
ewarn "which are limited to the following kernels:" |
19 |
ewarn "<sys-kernel/gentoo-sources-5.2" |
20 |
ewarn "<sys-kernel/vanilla-sources-5.2" |
21 |
ewarn "" |
22 |
ewarn "You are free to utilize epatch_user to provide whatever" |
23 |
ewarn "support you feel is appropriate, but will not receive" |
24 |
ewarn "support as a result of those changes." |
25 |
ewarn "" |
26 |
ewarn "Do not file a bug report about this." |
27 |
ewarn "" |
28 |
fi |
29 |
|
30 |
You could die there :) |