Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o, "ulm@g.o" <ulm@g.o>
Subject: Re: [gentoo-portage-dev] profile masking
Date: Fri, 14 Aug 2020 21:12:20
Message-Id: 7a807ddfc66e25735cc6e64e329d6b5b8d8a27c7.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] profile masking by Joakim Tjernlund
1 On Fri, 2020-08-14 at 15:42 +0000, Joakim Tjernlund wrote:
2 > On Fri, 2020-08-14 at 17:31 +0200, Ulrich Mueller wrote:
3 > > > > > > > On Fri, 14 Aug 2020, Joakim Tjernlund wrote:
4 > > > When pkgs are masked in the profile, it affects all variants of that
5 > > > pkgs, even the ones that are in other overlays.
6 > > > Example:
7 > > > !!! The following installed packages are masked:
8 > > > - sys-auth/sssd-9999::transmode (masked by: package.mask)
9 > > > /usr/portage/profiles/package.mask:
10 > > > # Matt Turner <mattst88@g.o> (2020-08-13)
11 > > > # Masked for testing
12 > > > My sssd-9999 is now masked.
13 > > > Could the profile syntax be extended to include syntax allowed in
14 > > > /etc/portage ? Then one could use the ::gentoo syntax (or so I hope)
15 > >
16 > > The :: syntax is Portage specific and doesn't exist in EAPI 7.
17 > > So there's no chance to get it into the profile dir anytime soon
18 > > (because that would imply :: to be added to a future EAPI and the
19 > > top-level profile dir to be bumped to that EAPI).
20 >
21 > Is profile part of EAPI? masks are not defined/used in ebuilds directly.
22 >
23 > > You could override the mask in your overlay's profile/package.mask
24 > > instead, using an entry with the "-" operator.
25 >
26 > Yes, I know I can add that in profile/package.mask but I am looking for the bigger
27 > picture here. This has to stop somehow, there need to be something that limits
28 > the mask scope to the repo/overlay it is defined.
29 >
30
31 Why is that? I dare say the bigger picture needs to include different
32 mask reasons. Sure, 'masked for testing' may or may not make little
33 sense for live ebuilds. However, 'masked for security issues' may
34 pretty apply to custom repo ebuilds as well.
35
36 --
37 Best regards,
38 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-portage-dev] profile masking Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>