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