]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kernel-install: remove depmod generated file modules.weakdep
authorJose Ignacio Tornos Martinez <jtornosm@redhat.com>
Fri, 26 Jul 2024 08:28:21 +0000 (10:28 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 26 Jul 2024 13:02:14 +0000 (14:02 +0100)
The new file, modules.weakdep, generated by depmod to get the weak
dpendencies information can be present
(https://github.com/kmod-project/kmod/commit/05828b4a6e9327a63ef94df544a042b5e9ce4fe7),
so remove it like the other similar files.

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
src/kernel-install/50-depmod.install

index 88f858fed9c4b01b5fb78c2ae015813be39e2774..08247c735b6f298b67be3ff638efbf7b9c4378af 100755 (executable)
@@ -44,6 +44,7 @@ case "$COMMAND" in
             "/lib/modules/$KERNEL_VERSION/modules.dep.bin" \
             "/lib/modules/$KERNEL_VERSION/modules.devname" \
             "/lib/modules/$KERNEL_VERSION/modules.softdep" \
+            "/lib/modules/$KERNEL_VERSION/modules.weakdep" \
             "/lib/modules/$KERNEL_VERSION/modules.symbols" \
             "/lib/modules/$KERNEL_VERSION/modules.symbols.bin"
         ;;