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 8FDD0138A1F for ; Sun, 26 Jan 2014 22:38:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA9D0E0D4E; Sun, 26 Jan 2014 22:38:18 +0000 (UTC) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9DF1DE0D38 for ; Sun, 26 Jan 2014 22:38:17 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id x13so4999275wgg.9 for ; Sun, 26 Jan 2014 14:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=swSh+57ydh2iH+PCPzEb6uv6VF3IY2gwkyCKpxjqUCI=; b=TXFKKalg52JdWhu/89PWFpqZ8qTvR+jjaRXD7PJd9Po2+ijsaD5FB90YmO149XvlSw OodXRxK15tA+RAp18butJrIUIszsQNSuQ2G0UvJhl1H4aAewT1mNpzD/PpZ6J4AhAyC2 iaIWzHJMl5eTMN+PGViZCd29VD9W/vucypA62wZWiV9eJEdZz6QzdzvJsZYTtbaxBWdq xJTyfvlixjya9psxjxYOmGvauplw91f/DOsjikL73bYzvGLdNDWCzaOmsgxbcrGO1AVP 0VN50WaSJHYUQJhIOSs/YzaytzfghkYvtmsBP7eK3qFeC9QYLKZrOOVIWBCnEjRRihm6 0xCA== X-Received: by 10.180.81.38 with SMTP id w6mr9693867wix.27.1390775896390; Sun, 26 Jan 2014 14:38:16 -0800 (PST) Received: from [172.20.0.40] (196-210-244-57.dynamic.isadsl.co.za. [196.210.244.57]) by mx.google.com with ESMTPSA id dm2sm23315246wib.8.2014.01.26.14.38.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jan 2014 14:38:15 -0800 (PST) Message-ID: <52E58E57.2050105@gmail.com> Date: Mon, 27 Jan 2014 00:38:15 +0200 From: Alan McKinnon 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> In-Reply-To: <52E58866.1070103@asyr.hopto.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: b73c02aa-7de4-4586-bb64-d1bf7216b6ba X-Archives-Hash: 20375b79fea80df3d9ef2ab731feb073 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/ -- Alan McKinnon alan.mckinnon@gmail.com