mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-kernel/dracut: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
https://github.com/dracut-ng/dracut-ng/pull/1322
|
||||
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
||||
index 840c4fd8a..df362ceff 100755
|
||||
--- a/modules.d/90kernel-modules/module-setup.sh
|
||||
+++ b/modules.d/90kernel-modules/module-setup.sh
|
||||
@@ -122,11 +122,11 @@ installkernel() {
|
||||
|
||||
# if not on strict hostonly mode, install all known filesystems,
|
||||
# if the required list is not set via the filesystems variable
|
||||
- if [[ $hostonly_mode != "strict" ]]; then
|
||||
- if [[ -z $filesystems ]]; then
|
||||
- dracut_instmods -o -P ".*/(kernel/fs/nfs|kernel/fs/nfsd|kernel/fs/lockd)/.*" '=fs'
|
||||
- fi
|
||||
- elif [[ "${host_fs_types[*]}" ]]; then
|
||||
+ if [[ $hostonly_mode != "strict" ]] && [[ -z $filesystems ]]; then
|
||||
+ dracut_instmods -o -P ".*/(kernel/fs/nfs|kernel/fs/nfsd|kernel/fs/lockd)/.*" '=fs'
|
||||
+ fi
|
||||
+
|
||||
+ if [[ $hostonly ]] && [[ "${host_fs_types[*]}" ]]; then
|
||||
hostonly='' instmods "${host_fs_types[@]}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user