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: Sun, 02 Aug 2020 22:42:28
Message-Id: 1596408131.2d46cd1a6950e674254306d8ba2229b5d4ff441f.whissi@gentoo
1 commit: 2d46cd1a6950e674254306d8ba2229b5d4ff441f
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 22:28:50 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 22:42:11 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2d46cd1a
7
8 gen_initramfs.sh: append_modules(): Output used modules src directory
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_initramfs.sh | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/gen_initramfs.sh b/gen_initramfs.sh
16 index 3cd535c..84629a2 100755
17 --- a/gen_initramfs.sh
18 +++ b/gen_initramfs.sh
19 @@ -1678,8 +1678,6 @@ append_modules() {
20 local modules_dstdir="${TDIR}/lib/modules/${KV}"
21 local modules_srcdir="/lib/modules/${KV}"
22
23 - print_info 2 "$(get_indent 2)modules: >> Copying modules to initramfs ..."
24 -
25 if [ -n "${KERNEL_MODULES_PREFIX}" ]
26 then
27 modules_srcdir="${KERNEL_MODULES_PREFIX%/}${modules_srcdir}"
28 @@ -1695,6 +1693,8 @@ append_modules() {
29
30 cd "${modules_srcdir}" || gen_die "Failed to chdir to '${modules_srcdir}'!"
31
32 + print_info 2 "$(get_indent 2)modules: >> Copying modules from '${modules_srcdir}' to initramfs ..."
33 +
34 local i= mymod=
35 local MOD_EXT="$(modules_kext)"
36 local n_copied_modules=0