View previous topic :: View next topic |
Author |
Message |
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Mon Aug 20, 2018 4:21 pm Post subject: package.mask to specific packages on an overlay [SOLVED] |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Tue Aug 21, 2018 1:47 am Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Aug 21, 2018 4:10 am Post subject: Re: package.mask to mask specific packages on an overlay |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30916 Location: here
|
Posted: Tue Aug 21, 2018 5:29 am Post subject: |
|
|
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 |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Tue Aug 21, 2018 5:40 am Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30916 Location: here
|
Posted: Tue Aug 21, 2018 5:45 am Post subject: |
|
|
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 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Tue Aug 21, 2018 2:50 pm Post subject: |
|
|
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 |
|
|
|