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 5/9] targets: Don't unnecessarily override emerge_opts
Date: Sat, 16 May 2020 06:53:33
Message-Id: 20200516065317.2678080-5-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 1/9] targets: Remove clst_my* prefix by Matt Turner
1 emerge_opts contains the options we want already, and if there are extra
2 options we need for a special case we can just pass them to run_merge.
3
4 Signed-off-by: Matt Turner <mattst88@g.o>
5 ---
6 targets/support/kmerge.sh | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
10 index 23489d8e..e92072bb 100755
11 --- a/targets/support/kmerge.sh
12 +++ b/targets/support/kmerge.sh
13 @@ -212,7 +212,7 @@ then
14
15 # install dependencies of kernel sources ahead of time in case
16 # package.provided generated below causes them not to be (re)installed
17 - PKGDIR=${PKGDIR} emerge_opts=(--quiet --usepkg --buildpkg --binpkg-respect-use=y --update --newuse --onlydeps) run_merge "${clst_ksource}" || exit 1
18 + PKGDIR=${PKGDIR} run_merge --onlydeps "${clst_ksource}" || exit 1
19
20 # Create the kerncache directory if it doesn't exists
21 mkdir -p /tmp/kerncache/${clst_kname}
22 @@ -236,7 +236,7 @@ then
23
24 [ -L /usr/src/linux ] && rm -f /usr/src/linux
25
26 - PKGDIR=${PKGDIR} emerge_opts=(--quiet --update --newuse) run_merge "${clst_ksource}" || exit 1
27 + PKGDIR=${PKGDIR} run_merge "${clst_ksource}" || exit 1
28
29 SOURCESDIR="/tmp/kerncache/${clst_kname}/sources"
30 if [ -L /usr/src/linux ]
31 --
32 2.26.2