]> TLD Linux GIT Repositories - packages/dracut.git/commitdiff
- ext4 fix
authorMarcin Krol <hawk@tld-linux.org>
Fri, 18 May 2018 19:40:16 +0000 (19:40 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 18 May 2018 19:40:16 +0000 (19:40 +0000)
dracut.spec
ext4.patch [new file with mode: 0644]

index 4102de8f5d4ea154d5576df79038bdcd89025bf9..b107639751eafff74af55bf8a1e33510a0396eea 100644 (file)
@@ -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 (file)
index 0000000..ce979d8
--- /dev/null
@@ -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)