commit: 57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Jul 5 17:40:44 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jul 5 17:40:44 2023 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=57a4a1e2
Don't require obsolete /var/lib/module-rebuild/moduledb to exist See 71110f715fc46f148280b52b297121786504a325 and d9687a4df038382187300d6f44230661ff5bc377 in gentoo.git. Bug: https://bugs.gentoo.org/909722 Signed-off-by: Sam James <sam <AT> gentoo.org> doc/genkernel.8.txt | 4 +--- gen_compile.sh | 7 ------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt index a5c0b92..3a1ae58 100644 --- a/doc/genkernel.8.txt +++ b/doc/genkernel.8.txt @@ -198,9 +198,7 @@ specified. *--*[*no-*]*module-rebuild*:: Runs, or does not run "emerge --ignore-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild" to build out-of-tree modules when possible, i.e. when non-static - kernel and modules will be build, installed, - *--kernel-modules-prefix* is not set, '/var/lib/module-rebuild/moduledb' exists - and is not empty. + kernel and modules will be build, installed, *--kernel-modules-prefix* is not set. NOTE: Command can be customized using '--module-rebuild-cmd' command-line argument or 'MODULEREBUILD_CMD' in '/etc/genkernel.conf'. diff --git a/gen_compile.sh b/gen_compile.sh index 9af128b..6db69ec 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -27,13 +27,6 @@ compile_external_modules() { return fi - local modulesdb_file="/var/lib/module-rebuild/moduledb" - if [ ! -s "${modulesdb_file}" ] - then - print_info 2 "$(get_indent 1)>> '${modulesdb_file}' does not exist or is empty; Skipping '${MODULEREBUILD_CMD}' ..." - return - fi - local -x KV_OUT_DIR="${KERNEL_OUTPUTDIR}" print_info 1 "$(get_indent 1)>> Compiling out-of-tree module(s) ..."