From 27b57276ac1f9dbb6dae71e17377a753f245a747 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Apr 2018 18:40:23 +0100 Subject: sys-kernel/dracut : revision bump --- .../dracut-044-ext4-and-f2fs-need-crc32X-too.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch (limited to 'sys-kernel/dracut/files') 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 + } + -- cgit v1.2.3