dracut: make failing insertion of drm modules nonfatal

Closes #12970.
This commit is contained in:
Enno Boland 2018-03-30 15:43:29 +02:00
parent 3433e5597c
commit d430c359b8
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 13 additions and 1 deletions

View File

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

View File

@ -1,7 +1,7 @@
# Template file for 'dracut' # Template file for 'dracut'
pkgname=dracut pkgname=dracut
version=047 version=047
revision=1 revision=2
build_style=configure build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc" configure_args="--prefix=/usr --sysconfdir=/etc"
hostmakedepends="asciidoc pkg-config" hostmakedepends="asciidoc pkg-config"