Re: profile masking
Zac Medico <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/14/20 8:42 AM, Joakim Tjernlund wrote: > On Fri, 2020-08-14 at 17:31 +0200, Ulrich Mueller wrote: >>>>>>> On Fri, 14 Aug 2020, Joakim Tjernlund wrote: >> >>> When pkgs are masked in the profile, it affects all variants of that >>> pkgs, even the ones that are in other overlays. >>> Example: >>> !!! The following installed packages are masked: >>> - sys-auth/sssd-9999::transmode (masked by: package.mask) >>> /usr/portage/profiles/package.mask: >>> # Matt Turner <[email protected]> (2020-08-13) >>> # Masked for testing >> >>> My sssd-9999 is now masked. >> >>> Could the profile syntax be extended to include syntax allowed in >>> /etc/portage ? Then one could use the ::gentoo syntax (or so I hope) >> >> The :: syntax is Portage specific and doesn't exist in EAPI 7. >> So there's no chance to get it into the profile dir anytime soon >> (because that would imply :: to be added to a future EAPI and the >> top-level profile dir to be bumped to that EAPI). > > Is profile part of EAPI? masks are not defined/used in ebuilds directly. > >> >> You could override the mask in your overlay's profile/package.mask >> instead, using an entry with the "-" operator. > > Yes, I know I can add that in profile/package.mask but I am looking for the bigger > picture here. This has to stop somehow, there need to be something that limits > the mask scope to the repo/overlay it is defined. The scope is already limited, but this overlay inherits the mask because it has the gentoo repo as its master (either implicitly or via a masters setting in metadata/layout.conf). I suppose we could add an option to prevent this inheritance. > I think a good start would be to consider /etc/portage the top profile and other > subprofiles should be able to use the same features as /etc/portage. > > Portage could start supporting that now, but there would be a while until > one can use them in Gentoo profile. We've got this bug open for the ::repo atom support: https://bugs.gentoo.org/651208 -- Thanks, Zac
signature.asc
(application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl825gRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK PSAAlw/8DjRpbsaK2peAJMoRTOwZQP+ASxp6MGPS8MnJrFyEypDKINoA4BDMqeAS dUPDiicVJjU+feHU63MdCA4j2SEW+u9nPu+GXoNiB2S0r3IEFKADpi3QUIQ/DkQF Z0ZlfCWV+EzFRU8DbZuVMqAGKbSoWahc9ASP/Ps5b172wXwWU+/HGOA6kYS0PTfx j6YHSXMjyujmnjOua3pMbOythTMhqTATMPSZhbWU31MtO8xyclLgDAWgPPpW0EIK 3ElAd5TSYTSkVinlp0kX0oVRx20qOKNRgp2W07ViRw0pnH9I2Xut9G8s55X4nkQg ixnpb9nnFTNfnQr/HfPoEdZ2vShyeZYGFPPPdx6jPHjXbjDHv+1Nbov3Beq3I1pZ p+xzhthy92YnTMvop9sjocQqFecjjYchYAPFS46rU4iXmW2Ha0X5lHTYzQPDOBw9 8muHm0OgRQI9FcM33eW4YWrUvDa1ADeprsOO3mUwowTJAAqE5ADlKAf4oUNNkIZu DTEi3+CFM/jfzKuNbV5Ry4p+g1pBOsMCzLTCSr+DZWgePh/WJwXG5kBKB2f0GoFI FT4HX3ceZ4OLLx2N4XpD0EU9B9bcZUJ6n1/2aR6e1gG6sdzjzHuM8dKI/dO2iPhp 0OSaTSBkFvsvlSn/2eS1bQykxsxwuIz0j9bGdlNTKg5GZD7zff0= =vPz+ -----END PGP SIGNATURE-----