commit:     c691ab1f1e2493e5ca16ab23545ad3c87f152802
Author:     Dmitry Baranov <reagentoo <AT> gmail <DOT> com>
AuthorDate: Wed Oct 25 12:27:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 01:58:52 2023 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c691ab1f

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 <AT> gmail.com>
Closes: https://github.com/gentoo/genkernel/pull/51
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gen_moddeps.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_moddeps.sh b/gen_moddeps.sh
index 556751d..070131c 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=()
 

Reply via email to