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 <gentoo-embedded+bounces-3846-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Py14V-0005nN-7p
	for garchives@archives.gentoo.org; Fri, 11 Mar 2011 12:03:55 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C0FC7E055E
	for <garchives@archives.gentoo.org>; Fri, 11 Mar 2011 12:03:54 +0000 (UTC)
Received: from mail1.nippynetworks.com (mail1.nippynetworks.com [91.220.24.129])
	by pigeon.gentoo.org (Postfix) with ESMTP id 678F2E04C2
	for <gentoo-embedded@lists.gentoo.org>; Fri, 11 Mar 2011 11:51:26 +0000 (UTC)
Received: from localhost (mail1.nippynetworks.com [127.0.0.1])
	by mail1.nippynetworks.com (Postfix) with ESMTP id 8FAD2340321
	for <gentoo-embedded@lists.gentoo.org>; Fri, 11 Mar 2011 11:51:25 +0000 (GMT)
X-Virus-Scanned: amavisd-new at nippynetworks.com
Received: from mail1.nippynetworks.com ([127.0.0.1])
	by localhost (mail1.nippynetworks.com [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Uqngu9VNDI4R for <gentoo-embedded@lists.gentoo.org>;
	Fri, 11 Mar 2011 11:51:25 +0000 (GMT)
Received: from Ed-Wildgooses-MacBook-Pro.local (office.nippynetworks.com [212.69.49.94])
	(Authenticated sender: edward@wildgooses.com)
	by mail1.nippynetworks.com (Postfix) with ESMTPSA id 5E2FA340314
	for <gentoo-embedded@lists.gentoo.org>; Fri, 11 Mar 2011 11:51:25 +0000 (GMT)
Message-ID: <4D7A0CBD.7070208@wildgooses.com>
Date: Fri, 11 Mar 2011 11:51:25 +0000
From: Ed W <lists@wildgooses.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Suggestion for INSTALL_MASK
References: <4D74E2B7.9000906@gmx.ch> <1299555980.20664.2.camel@here> <4D798142.2050303@newsguy.com>
In-Reply-To: <4D798142.2050303@newsguy.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 
X-Archives-Hash: 1c6ff9ee906992c2937e54da9a9a7b06

> 
> Related to this... Does anyone know if the PKG_INSTALL_MASK functionality is
> broken?  It seems to function exactly the same as INSTALL_MASK.  The make.conf
> man page says PKG_INSTALL_MASK applies only when creating a binary package.
> 
> I'm a relative newbie, but my thinking (consistent with my understanding of the
> docs and wisdom gleaned from this list) was to maintain a cross development tree
> on my build host with everything installed, including all the build deps
> (libraries, header files, etc), while at the same time building binary packages
> for what will go onto the target filesystem, using PKG_INSTALL_MASK to filter
> out unwanted header files, etc from the binary packages.  Then I can create my
> lean target filesystem from the binary packages with the
> '--root=/target/filesystem' emerge option. But PKG_INSTALL_MASK seems to apply
> to my development tree as well.  Am I missing anything?


Hmm, interesting - that might explain why INSTALL_MASK appears to do
nothing at all for me...

I suspect (untested) that if you "emerge -k" with FEATURES="buildpkgs"
then internally portage is building the package and installing the
package?  Hence the PKG_INSTALL_MASK will take effect?

Just an idea... (off to test it)

Ed W