|
4 | 4 | Summary: dracut to create initramfs |
5 | 5 | Name: dracut |
6 | 6 | Version: 102 |
7 | | -Release: 11%{?dist} |
| 7 | +Release: 12%{?dist} |
8 | 8 | # The entire source code is GPLv2+ |
9 | 9 | # except install/* which is LGPLv2+ |
10 | 10 | License: GPLv2+ AND LGPLv2+ |
@@ -56,6 +56,16 @@ Patch: 0014-fix-systemd-pcrphase-in-hostonly-mode-do-not-try-to-include |
56 | 56 | Patch: 0015-fix-systemd-pcrphase-make-tpm2-tss-an-optional-dependency.patch |
57 | 57 | Patch: 0016-Handle-SELinux-configuration-for-overlayfs-folders.patch |
58 | 58 | Patch: avoid-mktemp-collisions-with-find-not-path.patch |
| 59 | +# fix-dracut-systemd-include-systemd-cryptsetup.patch has been introduced |
| 60 | +# by the Azure Linux team to ensure that the systemd-cryptsetup module is included |
| 61 | +# in the initramfs when needed. |
| 62 | +# In dracut 102, systemd-cryptsetup was split from the crypt module and is no longer |
| 63 | +# included by default, causing encrypted volumes in crypttab to be skipped in initrd. |
| 64 | +# This patch modifies dracut-systemd to explicitly include systemd-cryptsetup. |
| 65 | +# The patch can be removed if Dracut is upgraded to 104+. |
| 66 | +# - References: https://github.com/dracut-ng/dracut-ng/pull/262 |
| 67 | +# https://github.com/dracut-ng/dracut-ng/commit/e0e5424a7b5e387ccb70e47ffea5a59716bf7b76 |
| 68 | +Patch: fix-dracut-systemd-include-systemd-cryptsetup.patch |
59 | 69 |
|
60 | 70 | BuildRequires: bash |
61 | 71 | BuildRequires: kmod-devel |
@@ -315,6 +325,9 @@ ln -srv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} |
315 | 325 | %dir %{_sharedstatedir}/%{name}/overlay |
316 | 326 |
|
317 | 327 | %changelog |
| 328 | +* Tue Mar 11 2025 Archana Choudhary <archana1@microsoft.com> - 102-12 |
| 329 | +- Add fix for systemd-cryptsetup module to be included in initramfs when needed |
| 330 | + |
318 | 331 | * Mon Mar 05 2025 George Mileka <gmileka@microsoft.com> - 102-11 |
319 | 332 | - Update overlayfs selinux handling with the full path of chcon |
320 | 333 |
|
|
0 commit comments