247 - Compress the initrd with zstd by default

This commit is contained in:
Petr Bokoč 2025-10-28 08:59:07 +01:00
commit 250c8da469

View file

@ -139,3 +139,8 @@ Fedora 43 updates the RPM packaging system to version 6.0. This release provides
* Support for signing with Sequoia-sq as an alternative to GnuPG.
For full information about this release, see the link:++https://rpm.org/wiki/Releases/6.0.0++[upstream release notes]. The link:++https://github.com/rpm-software-management/rpm/discussions/3602++[Road to RPM 6.0] post also provides details in a more easily digestible format.
Slightly smaller (in the range of a few megabytes) initrd sizes and faster boots. See https://github.com/coreos/fedora-coreos-tracker/issues/1247#issuecomment-1179490347 for some measurements. We did the change in Fedora CoreOS to reduce the size of the initrd to save disk space in the /boot partition.
[[dracut-zstd]]
== initrd is now compressed by zstd by default
The compression algorithm used by `dracut` when generating an initrd has been changed from `xz` to `zstd`, and Dracut now depends on `zstd` to ensure it is available. This should result in slightly smaller initrd sizes and slightly faster boot times.