You could utilise package.provided to make portage assume the headers
are installed. e.g:
/etc/portage/profile/package.provided/sys-kernel/linux-headers:
sys-kernel/linux-headers-5.3
With that portage will assume that the kernel headers for
linux-headers-5.3 are installed. The dependency will still be satisfied
and nothing will break as long as you really _do_ have the kernel
headers for 5.3 installed (e.g you're doing `make headers_install` when
building your kernel).
On 12/11/2019 21:30, Anthony Delannoy wrote:
Hi,
I'm using vanilla kernel outside of portage directly from kernel.org for few
years now.
I was wondering if I can also uninstall the kernel headers package and install
them separatly ?
I never tried because a lot of packages seems to have them as a dependency.
Have a nice day