commit:     67adad0510221685c62a29c7b544474a01cd7a73
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 15:24:50 2018 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 17:26:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=67adad05

Revert "gen_compile: modules should respect --no-install"

This reverts commit 5cab38a2aec2d6886eb8525240c83b3ee70b3d5d.

Modules are also used by kerncache, minkernpackage, modulespackage and
possibly more.

See-Also: https://bugs.gentoo.org/505810#c3
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 gen_compile.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gen_compile.sh b/gen_compile.sh
index 0036338..c287054 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -308,10 +308,6 @@ 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" ]

Reply via email to