aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-25 19:19:05 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-25 19:19:05 +0200
commit494fa0725ce3c3b4b8044d53ea6c13fce2c823bb (patch)
tree017e23149ad2260c546e10e18afd6c8593e13984
parentgkbuilds/dropbear: Build dbclient (diff)
downloadgenkernel-494fa0725ce3c3b4b8044d53ea6c13fce2c823bb.tar.gz
genkernel-494fa0725ce3c3b4b8044d53ea6c13fce2c823bb.tar.bz2
genkernel-494fa0725ce3c3b4b8044d53ea6c13fce2c823bb.zip
gen_initramfs.sh: append_modules(): Update modules.* files to represent initramfs content
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xgen_initramfs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index eaa6f30..5bee813 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -1721,6 +1721,11 @@ append_modules() {
cp -ax --parents --target-directory "${modules_dstdir}" modules* 2>/dev/null \
|| gen_die "Failed to copy '${modules_srcdir}/modules*' to '${modules_dstdir}'!"
+ print_info 2 "$(get_indent 2)modules: Updating modules.dep ..."
+ local a depmod_cmd=( depmod -a -b "${TDIR}" ${KV} )
+ print_info 3 "COMMAND: ${depmod_cmd[*]}" 1 0 1
+ eval "${depmod_cmd[@]}" || gen_die "Failed to run '${depmod_cmd[*]}'!"
+
local group_modules= group=
for group_modules in ${!MODULES_*}
do