commit: 5cab38a2aec2d6886eb8525240c83b3ee70b3d5d Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Mon Dec 25 07:05:47 2017 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <robbat2 <AT> 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" ]