genkernel script should assign some value to EBUILD variable before soursing /sbin/functions.sh to not reset PATH to default value in functions.sh Reproducible: Always Steps to Reproduce: 1. Prepare system to use distcc (add /usr/lib/distcc/bin to the front of PATH) 2. Run genkernel Actual Results: distcc is not being called for the kernel compilation
It's a bit weird that functions.sh resets the path.
i'd imagine that functions.sh resets the path so that rc-scripts are guaranteed sane setups
Yep.
Could we make a temp variable for $PATH, source functions.sh, and then reset path? It is hackish, but it is the sanest way to fix this ...
err, genkernel 3 doesn't source /sbin/functions you're probably thinking of an older release, and we are not supporting genkernel < 3