The commit that added it says it did so in order to "export ROOT=/ prior to running genkernel". Why that was necessary is unclear. I can find no evidence that genkernel needs (or needed) ROOT to be set, and why it would need ROOT=/ seems even more doubtful.
Fixes: 8fb885ff ("Added an additional make_destpath call to kmerge.sh ...") Signed-off-by: Matt Turner <matts...@gentoo.org> --- targets/support/kmerge.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh index 911d7cb3..d65b8142 100755 --- a/targets/support/kmerge.sh +++ b/targets/support/kmerge.sh @@ -242,8 +242,6 @@ fi [ -e ${clst_make_conf} ] && \ echo "USE=\"\${USE} ${kernel_use} build\"" >> ${clst_make_conf} -make_destpath - genkernel_compile sed -i "/USE=\"\${USE} ${kernel_use} \"/d" ${clst_make_conf} -- 2.26.2