void-packages/srcpkgs/dracut/patches/prevent_error_message.patch

13 lines
481 B
Diff

diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
index 382f51a9..c995c2c5 100755
--- modules.d/50drm/module-setup.sh
+++ modules.d/50drm/module-setup.sh
@@ -40,6 +40,7 @@ installkernel() {
fi
done
else
- dracut_instmods -s "drm_crtc_init" "=drivers/gpu/drm" "=drivers/staging"
+ dracut_instmods -s "drm_crtc_init" "=drivers/gpu/drm"
+ dracut_instmods -o -s "drm_crtc_init" "=drivers/staging"
fi
}