Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Can an ebuild override CONFIG_PROTECT?
Date: Sun, 18 Oct 2009 09:37:48
Message-Id: 4ADAE1F6.8090105@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Can an ebuild override CONFIG_PROTECT? by Amit Dor-Shifer
1 Amit Dor-Shifer wrote:
2 > Does emerge actually call 'env-update'? If so, where (I can't find in in
3 > the code)?
4 > if not, who performs the environment update when an ebuild is emerged
5 > (I'm supposing env-update gets called. I didn't call it explicitly in my
6 > ebuild, yet still /etc/profile.env gets updated with CONFIG_PROTECT_MASK)?
7 > Amit
8
9 Yes, emerge calls env-update automatically. But, you should call
10 source /etc/profile afterwards in you running shell. Also, there's
11 this bug which prevents new CONFIG_PROTECT* settings from taking
12 immediate effect:
13
14 http://bugs.gentoo.org/show_bug.cgi?id=276345
15
16 --
17 Thanks,
18 Zac