From cfe0e4e788101c69cd5b96f7f88962439b844fcf Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 18 May 2018 19:40:16 +0000 Subject: [PATCH] - ext4 fix --- dracut.spec | 4 +++- ext4.patch | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ext4.patch diff --git a/dracut.spec b/dracut.spec index 4102de8..b107639 100644 --- a/dracut.spec +++ b/dracut.spec @@ -2,7 +2,7 @@ Summary: Initramfs generator using udev Summary(pl.UTF-8): Generator initramfs wykorzystujący udev Name: dracut Version: 047 -Release: 2 +Release: 4 License: GPL v2+ Group: Base Source0: https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz @@ -18,6 +18,7 @@ Patch6: proc_sys_remount.patch Patch7: misc_fixes.patch Patch8: initrd-release.patch Patch9: no_systemd_udevd.patch +Patch10: ext4.patch URL: https://dracut.wiki.kernel.org/ BuildRequires: asciidoc BuildRequires: dash @@ -201,6 +202,7 @@ Bashowe dopełnianie składni dla polecenia dracut. %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/50plymouth/module-setup.sh %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/95resume/module-setup.sh diff --git a/ext4.patch b/ext4.patch new file mode 100644 index 0000000..ce979d8 --- /dev/null +++ b/ext4.patch @@ -0,0 +1,12 @@ +diff -ur dracut-047.orig/modules.d/99fs-lib/module-setup.sh dracut-047/modules.d/99fs-lib/module-setup.sh +--- dracut-047.orig/modules.d/99fs-lib/module-setup.sh 2018-02-19 09:00:33.000000000 +0000 ++++ dracut-047/modules.d/99fs-lib/module-setup.sh 2018-05-18 19:33:05.169511667 +0000 +@@ -41,7 +41,7 @@ + include_fs_helper_modules() { + local dev=$1 fs=$2 + case "$fs" in +- xfs|btrfs) ++ xfs|btrfs|ext4) + instmods crc32c + ;; + f2fs) -- 2.46.0