From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C47A9138010 for ; Sat, 13 Oct 2012 21:49:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7742621C053; Sat, 13 Oct 2012 21:49:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BEC0121C051 for ; Sat, 13 Oct 2012 21:49:05 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D1DF33DAC4 for ; Sat, 13 Oct 2012 21:49:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A206EE5440 for ; Sat, 13 Oct 2012 21:49:03 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1350163726.63b9e57491e3ac40428885ec5f761fe9bde5e3b2.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog gen_compile.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 63b9e57491e3ac40428885ec5f761fe9bde5e3b2 X-VCS-Branch: master Date: Sat, 13 Oct 2012 21:49:03 +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-Archives-Salt: a9270244-db70-4354-8a13-ffe15ffe7026 X-Archives-Hash: 40bf78414d7d4c64038539a959fffc84 commit: 63b9e57491e3ac40428885ec5f761fe9bde5e3b2 Author: Robin H. Johnson gentoo org> AuthorDate: Sat Oct 13 21:28:46 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Oct 13 21:28:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=63b9e574 Bug #397947: Run depmod on new modules to avoid need to run at every boot on unionfs systems, or systemd that never runs it. Signed-off-by: Robin H. Johnson gentoo.org> --- ChangeLog | 4 ++++ gen_compile.sh | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e142c6..d3e7158 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ + 13 Oct 2012; Robin H. Johnson gen_compile.sh: + Bug #397947: Run depmod on new modules to avoid need to run at every boot on + unionfs systems, or systemd that never runs it. + 13 Oct 2012; Robin H. Johnson gen_initramfs.sh: Put the version of genkernel used in a build into /etc/build_id. diff --git a/gen_compile.sh b/gen_compile.sh index cbd3432..c923967 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -297,6 +297,8 @@ compile_modules() { export UNAME_MACHINE="${ARCH}" [ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH MAKEOPTS="${MAKEOPTS} -j1" compile_generic "modules_install" kernel + print_info 1 " >> Generating module dependency data..." + depmod -a -e -b "${INSTALL_MOD_PATH}"/lib/modules/$KV ${KV} unset UNAME_MACHINE }