Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 493226 Details for
Bug 505810
sys-kernel/genkernel-3.4.45.1 - genkernel --no-install still installs modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
put module installation behind CMD_INSTALL
no-modules-install.patch (text/plain), 1.78 KB, created by
Ben Kohler
on 2017-09-08 15:31:14 UTC
(
hide
)
Description:
put module installation behind CMD_INSTALL
Filename:
MIME Type:
Creator:
Ben Kohler
Created:
2017-09-08 15:31:14 UTC
Size:
1.78 KB
patch
obsolete
>diff --git a/gen_compile.sh b/gen_compile.sh >index 1cd1ebf..fb818a7 100755 >--- a/gen_compile.sh >+++ b/gen_compile.sh >@@ -308,26 +308,30 @@ compile_modules() { > print_info 1 " >> Compiling ${KV} modules..." > cd ${KERNEL_DIR} > compile_generic modules kernel >- export UNAME_MACHINE="${ARCH}" >- [ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH >- if [ "${CMD_STRIP_TYPE}" == "all" -o "${CMD_STRIP_TYPE}" == "modules" ] >- then >- print_info 1 " >> Installing ${KV} modules (and stripping)" >- INSTALL_MOD_STRIP=1 >- export INSTALL_MOD_STRIP >- else >- print_info 1 " >> Installing ${KV} modules" >- fi >- MAKEOPTS="${MAKEOPTS} -j1" compile_generic "modules_install" kernel >- print_info 1 " >> Generating module dependency data..." >- if [ "${INSTALL_MOD_PATH}" != '' ] >+ >+ if isTrue "${CMD_INSTALL}" > then >- depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map -b "${INSTALL_MOD_PATH}" ${KV} >- else >- depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map ${KV} >+ export UNAME_MACHINE="${ARCH}" >+ [ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH >+ if [ "${CMD_STRIP_TYPE}" == "all" -o "${CMD_STRIP_TYPE}" == "modules" ] >+ then >+ print_info 1 " >> Installing ${KV} modules (and stripping)" >+ INSTALL_MOD_STRIP=1 >+ export INSTALL_MOD_STRIP >+ else >+ print_info 1 " >> Installing ${KV} modules" >+ fi >+ MAKEOPTS="${MAKEOPTS} -j1" compile_generic "modules_install" kernel >+ print_info 1 " >> Generating module dependency data..." >+ if [ "${INSTALL_MOD_PATH}" != '' ] >+ then >+ depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map -b "${INSTALL_MOD_PATH}" ${KV} >+ else >+ depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map ${KV} >+ fi >+ unset UNAME_MACHINE >+ unset INSTALL_MOD_STRIP > fi >- unset UNAME_MACHINE >- unset INSTALL_MOD_STRIP > } > > compile_kernel() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 505810
: 493226