Re: [RFC] Removing sys-kernel/vanilla-kernel

Michał Górny <[email protected]> Tue, 02 Jun 2026 19:30:34 +0200
Newsgroups gmane.linux.gentoo.devel
Organization Gentoo
Message-ID <[email protected]>
On Tue, 2026-06-02 at 18:04 +0100, Sam James wrote:
> Toralf Förster <[email protected]> writes:
> 
> > On 02/06/2026 12:35, Michał Górny wrote:
> > > So, is anyone around here using them, or knows anyone who does?  If so,
> > > what are their reasons?
> > 
> > Well, I do use (since eons)
> > 
> >  # tail -v /etc/portage/profile/package.provided
> > ==> /etc/portage/profile/package.provided <==
> > sys-kernel/vanilla-sources-9999
> > 
> > and then have in ~/devel a linux repo where I do sth like this
> > 
> >     git diff v6.18.33..v6.18.34 | (cd /usr/src/linux && sudo patch -p1)
> > 
> > for the patch level and for a minor version bump every then and when
> > 
> >     git archive --prefix linux-6.18.y/ v6.18.15 | (cd /usr/src/; sudo
> >     tar -xf-)
> > 
> > Not sure, if I need sys-kernel/vanilla-sources or that in provided or not?
> 
> I think you want something in p.provided, otherwise
> virtual/linux-sources will pull in a kernel at some point for external
> kernel modules.

...but you don't need vanilla-sources for that to work.  You can put any
kernel source package, or I suppose virtual/linux-sources.


-- 
Best regards,
Michał Górny
signature.asc (application/pgp-signature, 293 B)
-----BEGIN PGP SIGNATURE-----

iKQEABYKAEwWIQQcFD0bEK7NPNmWHtiOMjR69AVa6AUCah8TOhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDISHG1nb3JueUBnZW50b28ub3JnAAoJEI4yNHr0BVro
8SoBAPY+wGJ2yceTmg1qjT1lhA8vd9fLqoGZcwYA2zWPZyf8AP9wkDUMJyoS7oZu
Bnr+OtltDY/OuQzhuZ8zBeR8kuZvCQ==
=2rUz
-----END PGP SIGNATURE-----