Steven J Long wrote: > Yeah sounds right. Perhaps a per-category bashrc split (both for > usual /etc/portage case and for overlays) might also be useful? > (Overlay admin can always test PN should the need arise.)
Maybe that's more in the domain of eclasses (or some sort of elibs is they don't need to change metadata), in cases when it's easy enough to inherit whichever ones are needed. > You mentioned in #-portage that per-phase execution is no longer used, wrt > how overlays would only be executing bashrc at start. I take it we can > still test $EBUILD_PHASE? (Sorry if I've misunderstood what you were > saying.) Current portage bashrc support allows $EBUILD_PHASE conditionals, but I think in the long term we may want to drop that in favor of function hooks that are sourced only once. The $EBUILD_PHASE conditional approach just seems somewhat clumsy in comparison (sourcing the bashrc during every phase might also be considered inefficient/ugly). -- Thanks, Zac
