summaryrefslogtreecommitdiff
path: root/sys-kernel/dracut/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-26 18:40:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-26 18:40:23 +0100
commit27b57276ac1f9dbb6dae71e17377a753f245a747 (patch)
tree67b56975acecdca773db1aa30f24c8b4ed95fa38 /sys-kernel/dracut/files
parenteb5293e2812749cf12409bc09117d00bc60f548d (diff)
sys-kernel/dracut : revision bump
Diffstat (limited to 'sys-kernel/dracut/files')
-rw-r--r--sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch30
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
+ }
+