On 23 April 2020 22:00:50 CEST, tastytea <tastytea+gen...@tastytea.de> wrote:
>On 2020-04-23T21:39+0200
>"J. Roeleveld" <jo...@antarean.org> wrote:
>
>> On 23 April 2020 21:35:22 CEST, Caveman Al Toraboran
>> <toraboracave...@protonmail.com> wrote:
>> >
>> >> I would prefer that portage prioritize gentoo's version rather
>> >> than the overlay's version, unless specified otherwise (eg.
>> >> sys-boot/grub::poly-c) when installing.
>> >
>> >didn't try it, but i guess you'll get the effect
>> >you want by:
>> >
>> >    * setting priority of your layman repo below -1000.
>> >    * setting priority of the gentoo repo above
>> >      50 (i think default for layman).
>> >
>> >more info:
>> >https://wiki.gentoo.org/wiki/Ebuild_repository#Priorities
>>
>> I got this working by only setting the priority of the gentoo repo to
>> 999.
>
>Another option is to mask¹ all packages from the overlay with
>*/*::poly-c and only unmask the packages you want to install from it.
>
>¹ <https://wiki.gentoo.org/wiki//etc/portage/package.mask>

The problem with that method is that it needs to be done for any overlay you 
install.

By setting the priority of the gentoo repo to a high number, it will always 
take precedence.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to