Re: profile masking

Zac Medico <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
On 8/14/20 1:42 PM, Zac Medico wrote:
> On 8/14/20 1:08 PM, Ulrich Mueller wrote:
>>>>>>> On Fri, 14 Aug 2020, Zac Medico wrote:
>>
>>> On 8/14/20 8:42 AM, Joakim Tjernlund wrote:
>>>> 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.
>>
>> Like an option in repos.conf or layout.conf?
>>
>> The problem I see with this is that preventing inheritance would disable
>> files like license_groups or thirdpartymirrors. So overlays would have
>> to maintain their own versions.
> 
> I've just tested, and it's possible to do this with a -* at the top of
> the overlay/profiles/package.mask file, if we simply modify the the
> grabfile_package function to allow the -* pass through (it currently
> discards it as an invalid atom).

Opened this bug:

https://bugs.gentoo.org/737148
-- 
Thanks,
Zac
signature.asc (application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl82/ZRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw
RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK
PSAXPhAAvSRopYI9loxielw0VcIVnj8RYQApxJx2R2F3aB4pbFbhILqhsB1flvSx
nnuf0cQGt2Sa+960xvwlr0kYQTUDxm9hPVcSaGhxjAO8dJ+UByymHqo9OKMh7//B
9YRyQTyiWfj3zauKnXCnqzGmpsOltDKtpk2L1X5McP8V7Th8M3bwlv5UWuZrUAl8
OVILznq5FNZjkvbd0mrG8vXBx5NtFl16VpZ0T/jK4NegrViS4l5sLlZK9LlU3qUh
mef3JhVzoqIBj5dHdRqqPtR+/viwJctrYQgbxlRDCcI+9ubSxjmRVHu1g0RgkXup
sG5W1RGD2SZ1h0S/KVhb1dn0aoF/Fq1S9mZ5Bj3EH7ZVtKEI3e+l8te5eri+d6Fn
RNqLtBwuZ734NHnxIToxTou8b+dU0yytgZumcWDahU5Q9+w6OZklnO3NqTj4CFXP
chOc84/l8mynt/FWDCKi9ieV4vNe/P4FDZXZ4ztIOhw7s8JBfPJamMYuyzyXQ2dT
G1/QEW7kiUZUGhG80HFDzZne0SY6BVb5sx9aK1wfHQFqIXOoR6itDsfiUMsWZ4QI
TdWc/ZalJ16EzG2ehMQJ+H1rhHq9xUZtdxa9NfvJ/mtvwUfKztvaswUCgaN/xAuw
X8LhAhjr/FDM9glf1A6zz8J/bfxqROusmAwm87nrT6OItrAF8eU=
=wnG4
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.