I would like to set certain variables in make.conf (in my case, PKGDIR) to something relative to PORTAGE_CONFIGROOT. Unfortunately, PORTAGE_CONFIGROOT seems to evaluate to "" when - I call emerge with the --config-root command line option - I set PORTAGE_CONFIGROOT as an environment variable when calling emerge (without using --config-root) Reproducible: Always
Is this still a problem? I think atleast --config-root should work. Does --root work for you?
There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_511806 I've posted it for review here: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5298
This is in the master branch now: https://github.com/gentoo/portage/commit/20a48be6f4c6779e7d89aef2a64c008ec70dcc14
(In reply to Zac Medico from comment #3) > This is in the master branch now: > > https://github.com/gentoo/portage/commit/ > 20a48be6f4c6779e7d89aef2a64c008ec70dcc14 That was fast:) Perhaps you can have a look at https://bugs.gentoo.org/show_bug.cgi?id=492854 too?
Released in portage-2.2.18