| Summary: | =x11-drivers/nvidia-drivers-381.22 checks kernel version incorrectly | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Claes <letharion> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 618886 *** |
In all other ebuilds the check looks like "kernel_is ge 4 11", but 381.22 has a dot in the check: "kernel_is ge 4.12", which when I read the linux-info eclass looks incorrect. Relevant part of diff below: $ diff -u /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild --- /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild 2017-05-19 00:18:01.000000000 +0200 +++ /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild 2017-05-19 00:18:08.000000000 +0200 @@ -92,11 +92,11 @@ die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}" fi - if use kernel_linux && kernel_is ge 4 11; then + if use kernel_linux && kernel_is ge 4.12; then ewarn "Gentoo supports kernels which are supported by NVIDIA" ewarn "which are limited to the following kernels:"