aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-07-06 00:21:08 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-07-06 01:40:51 +0200
commit8ba2f9ddb92f380251fc0bb98e1be724d5289eca (patch)
tree248f9e65c11fc2f89e75e6b1d2557bc3129836e3 /gen_moddeps.sh
parentgen_initramfs.sh: append_modules(): Export KEXT variable (diff)
downloadgenkernel-8ba2f9ddb92f380251fc0bb98e1be724d5289eca.tar.gz
genkernel-8ba2f9ddb92f380251fc0bb98e1be724d5289eca.tar.bz2
genkernel-8ba2f9ddb92f380251fc0bb98e1be724d5289eca.zip
gen_moddeps.sh: gen_dep_list(): Use global KEXT variable
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_moddeps.sh')
-rwxr-xr-xgen_moddeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_moddeps.sh b/gen_moddeps.sh
index 8c44039b..61f6deb1 100755
--- a/gen_moddeps.sh
+++ b/gen_moddeps.sh
@@ -4,7 +4,7 @@
gen_dep_list() {
if isTrue "${ALLRAMDISKMODULES}"
then
- strip_mod_paths $(find "${KERNEL_MODULES_PREFIX%/}/lib/modules/${KV}" -name "*$(modules_kext)") | sort
+ strip_mod_paths $(find "${KERNEL_MODULES_PREFIX%/}/lib/modules/${KV}" -name "*${KEXT}") | sort
else
rm -f "${TEMP}/moddeps" >/dev/null