If /bin/sh is not bash then dracut initramfs is unable to grok encrypted partitions.
--- /dev/null
+--- dracut-055/modules.d/00bash/module-setup.sh~ 2021-05-27 14:34:19.000000000 +0200
++++ dracut-055/modules.d/00bash/module-setup.sh 2021-10-30 23:03:00.931687353 +0200
+@@ -27,6 +27,6 @@
+ inst /bin/bash
+
+ # Prefer bash as default shell if no other shell is preferred.
+- [[ -L $initdir/bin/sh ]] || ln -sf bash "${initdir}/bin/sh"
++ ln -sf bash "${initdir}/bin/sh"
+
+ }
Summary(pl.UTF-8): Generator initramfs wykorzystujący udev
Name: dracut
Version: 055
-Release: 2
+Release: 3
License: GPL v2+
Group: Base
Source0: https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
Patch2: arch-libdir.patch
Patch3: systemd-paths.patch
Patch4: cryptsetup.patch
+Patch5: bash.patch
URL: https://dracut.wiki.kernel.org/
BuildRequires: asciidoc
BuildRequires: dash
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__sed} -i -e 's,@libexecdir@,%{_libexecdir},g' modules.d/50plymouth/module-setup.sh
%{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/95resume/module-setup.sh