summaryrefslogtreecommitdiff
path: root/sys-kernel
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
parenteb5293e2812749cf12409bc09117d00bc60f548d (diff)
sys-kernel/dracut : revision bump
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/dracut/dracut-044-r8.ebuild (renamed from sys-kernel/dracut/dracut-044-r7.ebuild)1
-rw-r--r--sys-kernel/dracut/files/dracut-044-ext4-and-f2fs-need-crc32X-too.patch30
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-kernel/dracut/dracut-044-r7.ebuild b/sys-kernel/dracut/dracut-044-r8.ebuild
index 6ebd8635..fad4090e 100644
--- a/sys-kernel/dracut/dracut-044-r7.ebuild
+++ b/sys-kernel/dracut/dracut-044-r8.ebuild
@@ -69,6 +69,7 @@ PATCHES=(
""${FILESDIR}"/"${P}"-bash-4.4.patch"
""${FILESDIR}"/"${P}"-preserve-xattrs-when-copying.patch"
""${FILESDIR}"/"${P}"-backport-fix-for-microcode-loading.patch"
+ ""${FILESDIR}"/"${P}"-ext4-and-f2fs-need-crc32X-too.patch"
)
#
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
+ }
+