On Tuesday 10 December 2013 11:33:43 Joakim Tjernlund wrote: > env. variables in profile.env are expanded in make.conf so > one can use ROOT=${SYSROOT} > --- > wrappers/emerge-wrapper | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper > index be81f95..bc6328d 100755 > --- a/wrappers/emerge-wrapper > +++ b/wrappers/emerge-wrapper > @@ -36,6 +36,11 @@ cross_wrap_etc() > > cp -a "${PREFIX}"/share/crossdev/etc ${SYSROOT}/ || return 1 > > + mkdir -p ${SYSROOT}/etc/env.d > + echo "SYSROOT=${SYSROOT}" > ${SYSROOT}/etc/env.d/01sysroot > + #Generate ${SYSROOT}/etc/profile.env > + ROOT=${SYSROOT}/ env-update --no-ldconfig > + > local conf=${SYSROOT}/etc/portage/make.conf > > # Re-use existing CHOST->portage ARCH mapping code
i don't see how this would help. portage doesn't load shell env files from $SYSROOT, so making it available in that wouldn't help. -mike
signature.asc
Description: This is a digitally signed message part.