diff options
author | 2023-07-05 18:40:44 +0100 | |
---|---|---|
committer | 2023-07-05 18:40:44 +0100 | |
commit | 57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67 (patch) | |
tree | f89baa24ea68794d80c30bace94ef31fb294235c | |
parent | defaults/kernel-generic-config: enable multi-gen LRU (diff) | |
download | genkernel-57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67.tar.gz genkernel-57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67.tar.bz2 genkernel-57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67.zip |
Don't require obsolete /var/lib/module-rebuild/moduledb to existv4.3.4
See 71110f715fc46f148280b52b297121786504a325 and d9687a4df038382187300d6f44230661ff5bc377
in gentoo.git.
Bug: https://bugs.gentoo.org/909722
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | doc/genkernel.8.txt | 4 | ||||
-rwxr-xr-x | gen_compile.sh | 7 |
2 files changed, 1 insertions, 10 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt index a5c0b922..3a1ae582 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 9af128b9..6db69ece 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) ..." |