Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Tue, 25 Aug 2020 17:42:28
Message-Id: 1598375945.494fa0725ce3c3b4b8044d53ea6c13fce2c823bb.whissi@gentoo
1 commit: 494fa0725ce3c3b4b8044d53ea6c13fce2c823bb
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 25 17:19:05 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 17:19:05 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=494fa072
7
8 gen_initramfs.sh: append_modules(): Update modules.* files to represent initramfs content
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_initramfs.sh | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/gen_initramfs.sh b/gen_initramfs.sh
16 index eaa6f30..5bee813 100755
17 --- a/gen_initramfs.sh
18 +++ b/gen_initramfs.sh
19 @@ -1721,6 +1721,11 @@ append_modules() {
20 cp -ax --parents --target-directory "${modules_dstdir}" modules* 2>/dev/null \
21 || gen_die "Failed to copy '${modules_srcdir}/modules*' to '${modules_dstdir}'!"
22
23 + print_info 2 "$(get_indent 2)modules: Updating modules.dep ..."
24 + local a depmod_cmd=( depmod -a -b "${TDIR}" ${KV} )
25 + print_info 3 "COMMAND: ${depmod_cmd[*]}" 1 0 1
26 + eval "${depmod_cmd[@]}" || gen_die "Failed to run '${depmod_cmd[*]}'!"
27 +
28 local group_modules= group=
29 for group_modules in ${!MODULES_*}
30 do