diff options
Diffstat (limited to 'sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch')
-rw-r--r-- | sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch b/sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch new file mode 100644 index 00000000..dad12c9b --- /dev/null +++ b/sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch @@ -0,0 +1,30 @@ +diff -Naur dracut-044/modules.d/99fs-lib/module-setup.sh dracut-044-p/modules.d/99fs-lib/module-setup.sh +--- dracut-044/modules.d/99fs-lib/module-setup.sh 2015-11-25 14:22:28.000000000 +0100 ++++ dracut-044-p/modules.d/99fs-lib/module-setup.sh 2018-04-26 16:30:19.960345610 +0200 +@@ -38,20 +38,23 @@ + include_fs_helper_modules() { + local dev=$1 fs=$2 + case "$fs" in +- xfs|btrfs) ++ xfs|btrfs|ext4) + instmods crc32c + ;; ++ f2fs) ++ instmods crc32 ++ ;; + esac + } + + # called by dracut + installkernel() { +- # xfs and btrfs needs crc32c... ++ # xfs, btrfs , ext4, f2fs needs crc32c / crc32 + if [[ $hostonly ]]; then + for_each_host_dev_fs include_fs_helper_modules + : + else +- instmods crc32c ++ instmods crc32c crc32 + fi + } + |