Gentoo Archives: gentoo-user

From: Thanasis <thanasis@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is there a way to keyword a whole overlay as ~arch ?
Date: Mon, 27 Jan 2014 09:45:29
Message-Id: 52E62AB2.3090509@asyr.hopto.org
In Reply to: Re: [gentoo-user] Is there a way to keyword a whole overlay as ~arch ? by Alan McKinnon
1 on 01/27/2014 12:38 AM Alan McKinnon wrote the following:
2 > On 27/01/2014 00:12, Thanasis wrote:
3 >> I am following stable (ACCEPT_KEYWORDS="amd64").
4 >> In order to install the "mate" desktop I need to install the mate
5 >> overlay and keyword all its packages as ~amd64.
6 >> Is there a way to do it easily for the whole overlay?
7 >
8 > As far as I'm aware, this is not part of portage or layman's feature
9 > set. I've seen a few overlays that provide a package.accept_keywords
10 > file you can symlink to, but this is just a convenience. It is neither
11 > required nor the norm.
12 >
13 > I suggest you script it somehow. Alan's blunt instrument first cut
14 > attempt (guaranteed to be buggy as all hell):
15 >
16 > find /var/lib/layman/<some_overlay>/ -mindepth 2 -maxdepth 2 -type d
17 > -wholename "*-*/*" | cut -f6-7 -d/ >>
18 > /etc/portage/package.accept_keywords/<some_overlay>
19 >
20 >
21
22 Thanks Alan, although obviously I should adopt Michael's inherent to
23 portage solution:
24
25 */*::overlay-name ~amd64

Replies

Subject Author
Re: [gentoo-user] Is there a way to keyword a whole overlay as ~arch ? Alan McKinnon <alan.mckinnon@×××××.com>