Gentoo Archives: gentoo-user

From: Aidan Harris <me@×××××××××.is>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel headers
Date: Wed, 13 Nov 2019 16:43:08
Message-Id: bdf4c0b0-88af-c23b-e7a3-c8a9b437cf6d@aidanharr.is
In Reply to: [gentoo-user] Kernel headers by Anthony Delannoy
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 >

Replies

Subject Author
Re: [gentoo-user] Kernel headers Anthony Delannoy <anthony.2lannoy@×××××.com>