From d82c735085360667944fe67182e42199fa2239c4 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 28 Apr 2018 14:27:16 +0200 Subject: [PATCH] dracut: include crc32c module for ext filesystems in hostonly mode --- srcpkgs/dracut/patches/ext_crc32c_module.patch | 11 +++++++++++ srcpkgs/dracut/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/dracut/patches/ext_crc32c_module.patch diff --git a/srcpkgs/dracut/patches/ext_crc32c_module.patch b/srcpkgs/dracut/patches/ext_crc32c_module.patch new file mode 100644 index 00000000000..54e47ac6a14 --- /dev/null +++ b/srcpkgs/dracut/patches/ext_crc32c_module.patch @@ -0,0 +1,11 @@ +--- modules.d/99fs-lib/module-setup.sh.orig ++++ modules.d/99fs-lib/module-setup.sh +@@ -41,7 +41,7 @@ + include_fs_helper_modules() { + local dev=$1 fs=$2 + case "$fs" in +- xfs|btrfs) ++ xfs|btrfs|ext[234]) + instmods crc32c + ;; + f2fs) diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index 1fb5d4eb399..eabe4618cce 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=047 -revision=3 +revision=4 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc" hostmakedepends="asciidoc pkg-config"