On Thu, 2009-03-26 at 08:26 +0100, Markus Duft wrote: > On Wed, 2009-03-25 at 11:44 -0700, Ned Ludd wrote: > > While much of what you are talking about here mainly applies to prefix, > > it looks to me from glancing over the code that you might of solved a > > long standing problem in the embedded world with cross compiling via > > portage. 222895 If that is the case, then I owe you a beer. one about > > the size of a keg.
> hmm... looking over that patch again, the only EPREFIX dependent thing > is, that i'm removing EPREFIX from the vartree class again :) so this > should pretty much plain apply to main too, and simply work. you may > want to rename READONLY_EPREFIX to READONLY_ROOT, but thats it :) > then add to make.conf: READONLY_ROOT=/my/other/root:DEPEND IMO, for non-prefix this is useful for [[ $ROOT != '/' ]] only, with either CHOST (root=$ROOT) being equal to CBUILD (root='/') or not. And the only two senseful values for READONLY_ROOT in make.conf are: 1. "/:DEPEND" To skip merging cmdline utilities (=DEPEND) to host-root (=$ROOT), by resolving them from build-root (='/'). 2. <unset> To merge all DEPENDs to host-root (=$ROOT), although they are still used from build-root (='/') during build. /haubi/ -- Michael Haubenwallner Gentoo on a different level