From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qe837-0005oN-4Q for garchives@archives.gentoo.org; Tue, 05 Jul 2011 16:00:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CF2621C116; Tue, 5 Jul 2011 15:59:00 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F33C21C116 for ; Tue, 5 Jul 2011 15:58:59 +0000 (UTC) Received: by gyg8 with SMTP id 8so2988064gyg.40 for ; Tue, 05 Jul 2011 08:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=MJ/9Ql1/13loBAPY+KRsmje6s3FakhoHvX8XbQOqYKg=; b=lPRKR1e7vT0kTsYOb6ItgP0PbaowlturOw9KgpZQNbZRE26cfCvxuKrSLkUx6X3jdJ UCbuWuLw229seOfrgb9bmgZdrkr5f/PyqoC2hRDzMiZ6fY3957rcP8tazmMLeS5LKD9D e9lidvwoNEqi2RUmCDAF7AQVxwhVHG9RIzaeY= Received: by 10.236.77.9 with SMTP id c9mr9244588yhe.36.1309881539498; Tue, 05 Jul 2011 08:58:59 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-129-33.jan.bellsouth.net [98.95.129.33]) by mx.google.com with ESMTPS id c63sm4849195yhe.4.2011.07.05.08.58.58 (version=SSLv3 cipher=OTHER); Tue, 05 Jul 2011 08:58:58 -0700 (PDT) Message-ID: <4E1334C1.6040207@gmail.com> Date: Tue, 05 Jul 2011 10:58:57 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110606 Gentoo/2.0.14-r1 SeaMonkey/2.0.14 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] emerge --autounmask-write: specify file References: <4E131CA2.8060408@gmx.ch> In-Reply-To: <4E131CA2.8060408@gmx.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: b11241ced23e0ea62aecc480f72cbec8 Gian Calgeer wrote: > Hi > > I was really looking forward to the new autounmask feature in portage, > as it replaces my ugly home-grown bash script. However, it just picks > a seemingly random file in /etc/portage/package.keywords to put things > into. Is there a way to specify which file it writes things into? > Ideally, I would like to have file names based on the package I'm > emerging, so if e.g. I do "emerge --autounmask-write=y > dev-ruby/rest-client", it should put the keywords into > /etc/portage/package.keywords/dev-ruby-rest-client or similar. > Alternatively, it would be great if I could at least get portage to > output the keywords to stdout without mixing it up with other output, > so I could redirect it to a file I want. Is there any way to do this? > > Gian > > I was using autounmask to do this and it does just like you want. However, the last time I used autounmask, it was different. You may want to try that tho to see if it helps in some way. The feature with emerge picks the first file I think in the directory. It is annoying as heck for sure. Since it is a work in progress, maybe they will change this weird behavior soon. Then again, that is yet another option to have to remember too. Jeez. Dale :-) :-)