From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0E24139083 for ; Mon, 25 Dec 2017 07:06:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C89E0E2D; Mon, 25 Dec 2017 07:06:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB972E0E2D for ; Mon, 25 Dec 2017 07:06:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9AB733C770 for ; Mon, 25 Dec 2017 07:06:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 495AA747C for ; Mon, 25 Dec 2017 07:06:03 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1514185547.5cab38a2aec2d6886eb8525240c83b3ee70b3d5d.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_compile.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 5cab38a2aec2d6886eb8525240c83b3ee70b3d5d X-VCS-Branch: master Date: Mon, 25 Dec 2017 07:06:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 96e5b68a-fe68-409e-ad17-9d8ee75826bd X-Archives-Hash: e9d5380e24b05e3d2733f236e231a2df commit: 5cab38a2aec2d6886eb8525240c83b3ee70b3d5d Author: Robin H. Johnson gentoo org> AuthorDate: Mon Dec 25 07:05:47 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Dec 25 07:05:47 2017 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5cab38a2 gen_compile: modules should respect --no-install Closes: https://bugs.gentoo.org/505810 Signed-off-by: Robin H. Johnson gentoo.org> gen_compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gen_compile.sh b/gen_compile.sh index c287054..0036338 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -308,6 +308,10 @@ compile_modules() { print_info 1 " >> Compiling ${KV} modules..." cd ${KERNEL_DIR} compile_generic modules kernel + + # If we are not installing modules, just shortcut this now. + isTrue "${CMD_INSTALL}" || return 0 + export UNAME_MACHINE="${ARCH}" [ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH if [ "${CMD_STRIP_TYPE}" == "all" -o "${CMD_STRIP_TYPE}" == "modules" ]