Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-catalyst] [PATCH 18/37] targets: Remove bizarre make_destpath() call
Date: Wed, 21 Oct 2020 00:24:29
Message-Id: 20201021002344.378131-18-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 01/37] catalyst: Use early return to unindent code by Matt Turner
1 The commit that added it says it did so in order to "export ROOT=/ prior
2 to running genkernel". Why that was necessary is unclear. I can find no
3 evidence that genkernel needs (or needed) ROOT to be set, and why it
4 would need ROOT=/ seems even more doubtful.
5
6 Fixes: 8fb885ff ("Added an additional make_destpath call to kmerge.sh ...")
7 Signed-off-by: Matt Turner <mattst88@g.o>
8 ---
9 targets/support/kmerge.sh | 2 --
10 1 file changed, 2 deletions(-)
11
12 diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
13 index 911d7cb3..d65b8142 100755
14 --- a/targets/support/kmerge.sh
15 +++ b/targets/support/kmerge.sh
16 @@ -242,8 +242,6 @@ fi
17 [ -e ${clst_make_conf} ] && \
18 echo "USE=\"\${USE} ${kernel_use} build\"" >> ${clst_make_conf}
19
20 -make_destpath
21 -
22 genkernel_compile
23
24 sed -i "/USE=\"\${USE} ${kernel_use} \"/d" ${clst_make_conf}
25 --
26 2.26.2