Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 541398

Summary: package.mask should support repo constraints
Product: Portage Development Reporter: SpanKY <vapier>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2015-02-26 05:07:26 UTC
when an overlay wants to make sure to disable a package in another overlay, it can really only create a higher $PV value.  if they could add a package.mask entry instead, it'd make things bullet proof.

echo net-firewall/iptables::gentoo > package.mask
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-26 05:13:45 UTC
Don't we have a layout.conf key for this?
Comment 2 Zac Medico gentoo-dev 2015-02-26 16:48:37 UTC
(In reply to Michał Górny from comment #1)
> Don't we have a layout.conf key for this?

No, but we can add one.

You can use repo atoms now if you put "5-progress" in an eapi file in the same directory.
Comment 3 SpanKY gentoo-dev 2015-02-26 20:56:54 UTC
(In reply to Zac Medico from comment #2)

i had tried "5" before posting, but i guess the other part i was missing was that eapi is a contained value.  when doing both those things, it does work.

wrt layout.conf key, i think the existing profile_eapi_when_unspecified key (while a bit verbose) should be sufficient for our needs.