mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
18c521269c
commit
eef5529636
2 changed files with 16 additions and 1 deletions
15
srcpkgs/dracut/patches/kmod-fix.patch
Normal file
15
srcpkgs/dracut/patches/kmod-fix.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=053
|
version=053
|
||||||
revision=2
|
revision=3
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||||
conf_files="/etc/dracut.conf"
|
conf_files="/etc/dracut.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue