When trying to install net-misc/openvswitch, I wondered why it pulled in sys-kernel/gentoo sources, even though I have USE="-modules". If I understand the linux-mod eclass correctly, the ebuild could specify MODULES_OPTIONAL_USE="modules" to avoid pulling in kernel sources when not building external kernel modules. Is there a reason other than building kernel modules to have that dependency?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9810e0f55cb9c8da7bdcf6bdcae630e61fcf3594 commit 9810e0f55cb9c8da7bdcf6bdcae630e61fcf3594 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-02 12:31:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-02 12:35:08 +0000 net-misc/openvswitch: add 2.17.2 Bug: https://bugs.gentoo.org/766135 Closes: https://bugs.gentoo.org/596206 Closes: https://bugs.gentoo.org/633516 Closes: https://bugs.gentoo.org/671776 Closes: https://bugs.gentoo.org/672870 Closes: https://bugs.gentoo.org/794535 Closes: https://bugs.gentoo.org/854663 Signed-off-by: Sam James <sam@gentoo.org> net-misc/openvswitch/Manifest | 1 + net-misc/openvswitch/openvswitch-2.17.2.ebuild | 152 +++++++++++++++++++++++++ 2 files changed, 153 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0f70439688bccfb7c4d0a56928e99b6a2bf600 commit 3a0f70439688bccfb7c4d0a56928e99b6a2bf600 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-02 12:36:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-02 12:36:23 +0000 net-misc/openvswitch: MODULES_OPTIONAL_USE is preinherit Bug: https://bugs.gentoo.org/671776 Signed-off-by: Sam James <sam@gentoo.org> net-misc/openvswitch/openvswitch-2.17.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)