Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541398 - package.mask should support repo constraints
Summary: package.mask should support repo constraints
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 05:07 UTC by SpanKY
Modified: 2015-02-26 20:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.