Teach Portage to grab portage config from stateful partition.

With PORTAGE_CONFIGROOT=/usr/local, Portage looks in /usr/local/etc for config
instead of /etc. This allows us to configure necessary configstuffs in
the stateful partition and avoids the need to copy it over to the rootfs
manually.

I've also updated ROOT to only be a default so that if the user can set
ROOT=/usr/local from the commandline if they want.

BUG=chromium-os:12474
TEST=Verify that gmerge works with this change, and that
     gmerge -n mesa works now (it previously didn't work because
     it depended on packages in package.provided).

Change-Id: Ifa240ead926dc89ac572e12f20b3af02cac42ea2
Reviewed-on: http://gerrit.chromium.org/gerrit/1278
Reviewed-by: Chris Sosa <[email protected]>
Tested-by: David James <[email protected]>
1 file changed