anaconda/files/0005-data-profile.d-almalinux-Add-Btrfs-support.patch

36 lines
1.0 KiB
Diff

From 5d2bd35eade079c5406c601b371b827729bfd3fe Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@almalinux.org>
Date: Fri, 30 May 2025 14:27:12 -0400
Subject: [PATCH 5/5] data/profile.d/almalinux: Add Btrfs support
As part of enabling Btrfs support, set reasonable defaults for
Btrfs compression similar to Fedora Linux and CentOS Hyperscale
and allow it to be part of the payload of requested packages to
be installed so that installs with Btrfs are not broken out of the box.
---
data/profile.d/almalinux.conf | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/data/profile.d/almalinux.conf b/data/profile.d/almalinux.conf
index b40c556adc..d45d682391 100644
--- a/data/profile.d/almalinux.conf
+++ b/data/profile.d/almalinux.conf
@@ -16,7 +16,14 @@ forbidden_modules =
[Bootloader]
efi_dir = almalinux
+[Storage]
+btrfs_compression = zstd:1
+
[Payload]
+# RHEL removes btrfs-progs, but we want it back
+ignored_packages =
+ ntfsprogs
+
enable_closest_mirror = True
default_source = CLOSEST_MIRROR
--
2.49.0