From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA4E3138359 for ; Sun, 2 Aug 2020 22:42:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2C84E09A8; Sun, 2 Aug 2020 22:42:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCC2CE09A8 for ; Sun, 2 Aug 2020 22:42:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D43F34F343 for ; Sun, 2 Aug 2020 22:42:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF8A3301 for ; Sun, 2 Aug 2020 22:42:23 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1596408131.2d46cd1a6950e674254306d8ba2229b5d4ff441f.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 2d46cd1a6950e674254306d8ba2229b5d4ff441f X-VCS-Branch: master Date: Sun, 2 Aug 2020 22:42:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24df22af-dcf3-4477-b5ed-254110aea33f X-Archives-Hash: 2bca83b37925f9c0965aa2fd1c72b248 commit: 2d46cd1a6950e674254306d8ba2229b5d4ff441f Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Aug 2 22:28:50 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Aug 2 22:42:11 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2d46cd1a gen_initramfs.sh: append_modules(): Output used modules src directory Signed-off-by: Thomas Deutschmann gentoo.org> gen_initramfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 3cd535c..84629a2 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1678,8 +1678,6 @@ append_modules() { local modules_dstdir="${TDIR}/lib/modules/${KV}" local modules_srcdir="/lib/modules/${KV}" - print_info 2 "$(get_indent 2)modules: >> Copying modules to initramfs ..." - if [ -n "${KERNEL_MODULES_PREFIX}" ] then modules_srcdir="${KERNEL_MODULES_PREFIX%/}${modules_srcdir}" @@ -1695,6 +1693,8 @@ append_modules() { cd "${modules_srcdir}" || gen_die "Failed to chdir to '${modules_srcdir}'!" + print_info 2 "$(get_indent 2)modules: >> Copying modules from '${modules_srcdir}' to initramfs ..." + local i= mymod= local MOD_EXT="$(modules_kext)" local n_copied_modules=0