public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/genkernel:master commit in: doc/, /
Date: Wed,  5 Jul 2023 17:41:38 +0000 (UTC)	[thread overview]
Message-ID: <1688578844.57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67.sam@gentoo> (raw)

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) ..."


             reply	other threads:[~2023-07-05 17:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-05 17:41 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-08  5:33 [gentoo-commits] proj/genkernel:master commit in: doc/, / Sam James
2021-07-06 21:27 Thomas Deutschmann
2020-08-02 22:42 Thomas Deutschmann
2019-07-21 18:38 Thomas Deutschmann
2019-07-21 16:26 Thomas Deutschmann
2019-07-21 16:26 Thomas Deutschmann
2019-07-15 18:06 Thomas Deutschmann
2019-03-29  4:13 Thomas Deutschmann
2019-03-28 23:43 Thomas Deutschmann
2019-03-28 23:43 Thomas Deutschmann
2019-03-25  2:08 Thomas Deutschmann
2017-01-08  0:40 Robin H. Johnson
2017-01-03  5:16 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688578844.57a4a1e250dfcc37f0169d3dd9d4a6a7d9308e67.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox