From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BD399138A1F for ; Mon, 27 Jan 2014 09:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EF8FE0DE8; Mon, 27 Jan 2014 09:45:25 +0000 (UTC) Received: from vergina.dyndns.org (cust-218-222.on4.ontelecoms.gr [92.118.218.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 2572BE0B15 for ; Mon, 27 Jan 2014 09:45:24 +0000 (UTC) Received: from [192.168.0.1] (viper.vergina.dyndns.org [192.168.0.1]) by viper.vergina.dyndns.org (Postfix) with ESMTP id 28C352D9 for ; Mon, 27 Jan 2014 11:45:23 +0200 (EET) Message-ID: <52E62AB2.3090509@asyr.hopto.org> Date: Mon, 27 Jan 2014 11:45:22 +0200 From: Thanasis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Is there a way to keyword a whole overlay as ~arch ? References: <52E58866.1070103@asyr.hopto.org> <52E58E57.2050105@gmail.com> In-Reply-To: <52E58E57.2050105@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: ed037978-6e8c-4a98-b401-3829b523e6f5 X-Archives-Hash: f2c89f711079f2fba31001fc00757867 on 01/27/2014 12:38 AM Alan McKinnon wrote the following: > On 27/01/2014 00:12, Thanasis wrote: >> I am following stable (ACCEPT_KEYWORDS="amd64"). >> In order to install the "mate" desktop I need to install the mate >> overlay and keyword all its packages as ~amd64. >> Is there a way to do it easily for the whole overlay? > > As far as I'm aware, this is not part of portage or layman's feature > set. I've seen a few overlays that provide a package.accept_keywords > file you can symlink to, but this is just a convenience. It is neither > required nor the norm. > > I suggest you script it somehow. Alan's blunt instrument first cut > attempt (guaranteed to be buggy as all hell): > > find /var/lib/layman// -mindepth 2 -maxdepth 2 -type d > -wholename "*-*/*" | cut -f6-7 -d/ >> > /etc/portage/package.accept_keywords/ > > Thanks Alan, although obviously I should adopt Michael's inherent to portage solution: */*::overlay-name ~amd64