Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
package.mask to specific packages on an overlay [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Mon Aug 20, 2018 4:21 pm    Post subject: package.mask to specific packages on an overlay [SOLVED] Reply with quote

So. last time I tried I couldn't mask packages on my own overlay without the mask also being applied to all other overlays. Appending ::<overlay> did not do it.

So the question goes: Is it possible?
If not, what's the proper way other than removing the ebuilds entirely? Keywording with -* does feel dirty.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!


Last edited by Zucca on Tue Aug 21, 2018 2:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Aug 21, 2018 1:47 am    Post subject: Reply with quote

As I understand it, masking with ::overlay is the correct way to do it. When you tried it, what exactly did you put in package.mask? What command did you give to Portage? What did Portage do in response?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Aug 21, 2018 4:10 am    Post subject: Re: package.mask to mask specific packages on an overlay Reply with quote

Zucca wrote:
So. last time I tried I couldn't mask packages on my own overlay without the mask also being applied to all other overlays. Appending ::<overlay> did not do it.

Zucca ... works here:

Code:
% for i (${$(eix --print PORTDIR_OVERLAY):t}) grep $i /etc/portage/package.mask/*
/etc/portage/package.mask/overlay.mask:*/*::foo-overlay
/etc/portage/package.mask/overlay.mask:*/*::mv
/etc/portage/package.mask/overlay.mask:*/*::octopus
/etc/portage/package.mask/overlay.mask:*/*::weuxel

Ignoring the fact that these are wildcard category/package, the mask has no effect on other overlays.

best ... khay
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Tue Aug 21, 2018 5:29 am    Post subject: Reply with quote

I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Aug 21, 2018 5:40 am    Post subject: Reply with quote

fedeliallalinea wrote:
I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.

But in this case the mask only applies to your overlay, automatically.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Tue Aug 21, 2018 5:45 am    Post subject: Reply with quote

mv wrote:
fedeliallalinea wrote:
I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.

But in this case the mask only applies to your overlay, automatically.

You right, thanks never used package.mask in a overlay. Then I don't know what zucca means :P
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Tue Aug 21, 2018 2:50 pm    Post subject: Reply with quote

fedeliallalinea wrote:
I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.


I think this is why it didn't work before.

Last time i tried the package.mask on my overlay caused packages also from other overlays to be masked. I have no clue how I did it back then. Now I have the need also, but it seems to work as expected. Strange...

Marking [SOLVED]...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum