Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Fri, 02 Aug 2019 07:48:32
Message-Id: 1564731889.778172c34bd532fc3438b9386ed1875e8c4ec671.whissi@gentoo
1 commit: 778172c34bd532fc3438b9386ed1875e8c4ec671
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 2 07:44:49 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 2 07:44:49 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=778172c3
7
8 gen_compile.sh: compile_modules(): Don't set INSTALL_MOD_STRIP when --no-strip
9
10 Kernel Makefile will pass INSTALL_MOD_STRIP value to "strip" command
11 resulting in errors like
12
13 strip: '0': No such file
14
15 otherwise.
16
17 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
18
19 gen_compile.sh | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/gen_compile.sh b/gen_compile.sh
23 index 0cf6114..5371ce2 100755
24 --- a/gen_compile.sh
25 +++ b/gen_compile.sh
26 @@ -236,7 +236,7 @@ compile_modules() {
27 local -x INSTALL_MOD_STRIP=1
28 else
29 print_info 1 "$(get_indent 1)>> Installing ${KV} modules ..."
30 - local -x INSTALL_MOD_STRIP=0
31 + unset INSTALL_MOD_STRIP
32 fi
33
34 compile_generic "modules_install" kernel