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 1MzS28-0003Zs-0i for garchives@archives.gentoo.org; Sun, 18 Oct 2009 09:26:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2D33E06BE; Sun, 18 Oct 2009 09:26:34 +0000 (UTC) Received: from mail.oversi.com (oversrv1.oversi.com [209.88.189.2]) by pigeon.gentoo.org (Postfix) with ESMTP id 970A1E06BE for ; Sun, 18 Oct 2009 09:26:34 +0000 (UTC) Received: from [10.2.2.28] (unknown [10.2.2.28]) by mail.oversi.com (Postfix) with ESMTPA id 45C7A57AC89 for ; Sun, 18 Oct 2009 11:22:34 +0200 (IST) Message-ID: <4ADADF49.1040008@oversi.com> Date: Sun, 18 Oct 2009 11:26:33 +0200 From: Amit Dor-Shifer User-Agent: Thunderbird 2.0.0.22 (X11/20090605) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Can an ebuild override CONFIG_PROTECT? References: <4AD6F088.7010902@oversi.com> <4AD79437.9030109@gentoo.org> <4ADAD3E2.3050208@oversi.com> <4ADAD84E.7070006@gentoo.org> In-Reply-To: <4ADAD84E.7070006@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 5bbeb79d-a776-4de7-9868-0d105fdc1126 X-Archives-Hash: d2d0ebae00629f9dfd1e668f42333f2c Does emerge actually call 'env-update'? If so, where (I can't find in in the code)? if not, who performs the environment update when an ebuild is emerged (I'm supposing env-update gets called. I didn't call it explicitly in my ebuild, yet still /etc/profile.env gets updated with CONFIG_PROTECT_MASK)? Amit Zac Medico wrote: > Amit Dor-Shifer wrote: > >> Thanks. >> IMHO this usage of env.d should be documented in the ebuild howto, as it >> presents a useful-yet-not-trivial mechanism. >> >> I'd document it, if: >> a) I get no objection from others. Anyone? >> b) I'd be referred to the proper place to document it in. There's a page >> dealing w/ |CONFIG_PROTECT_MASK at >> http://devmanual.gentoo.org/general-concepts/config-protect/index.html, >> but I doubt if that's the proper place. >> > > It's touched upon in the User Handbook here: > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part2_chap5 > > It might be nice to mention it somewhere in the Developer Handbook: > > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?full=1 > > That's maintained by the devrel team, and you can file a bug for > them at bugs.gentoo.org. >