aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baranov <reagentoo@gmail.com>2023-10-25 15:27:17 +0300
committerSam James <sam@gentoo.org>2023-10-28 02:58:52 +0100
commitc691ab1f1e2493e5ca16ab23545ad3c87f152802 (patch)
tree9ed0478e196e250877d7b5f222fe8a1492d5a0a1
parentgen_moddeps.sh: introduce xbasename() (diff)
downloadgenkernel-c691ab1f1e2493e5ca16ab23545ad3c87f152802.tar.gz
genkernel-c691ab1f1e2493e5ca16ab23545ad3c87f152802.tar.bz2
genkernel-c691ab1f1e2493e5ca16ab23545ad3c87f152802.zip
gen_moddeps.sh: fix including extra modules when ALLRAMDISKMODULES="yes"
depmod util doesn't care about updating modules.order when the new extra modules was installed. Bug: https://bugs.gentoo.org/916233 Signed-off-by: Dmitry Baranov <reagentoo@gmail.com> Closes: https://github.com/gentoo/genkernel/pull/51 Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xgen_moddeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_moddeps.sh b/gen_moddeps.sh
index 556751da..070131ce 100755
--- a/gen_moddeps.sh
+++ b/gen_moddeps.sh
@@ -27,7 +27,7 @@ gen_dep_list() {
if isTrue "${ALLRAMDISKMODULES}"
then
cat "${moddir}/modules.builtin"
- cat "${moddir}/modules.order"
+ cat "${moddir}/modules.dep" | cut -d':' -f1
else
local -a modlist=() moddeplist=()