Files
void-packages/srcpkgs/dracut/patches/kmod-fix.patch
classabbyamp a08280974a Revert "dracut: update to 056."
This reverts commit 7def67b23c.

dracut 056 causes a regression in live images because the
network-manager hook depends on the systemd hook now
(void-linux/void-mklive#296)
2022-11-21 03:45:33 -05:00

16 lines
582 B
Diff

The depmod program from kmod>=30 looks for modules.builtin.modinfo and throws a
warning when it isn't found. Newer versions of dracut pull in this file as well
as modules.builtin.alias, so let's pull this in here and avoid the warning.
--- a/dracut-init.sh
+++ b/dracut-init.sh
@@ -982,7 +982,7 @@
}
dracut_kernel_post() {
- for _f in modules.builtin.bin modules.builtin modules.order; do
+ for _f in modules.builtin.{bin,alias,modinfo} modules.builtin modules.order; do
[[ -e $srcmods/$_f ]] && inst_simple "$srcmods/$_f" "/lib/modules/$kernel/$_f"
done