Blame SOURCES/0005-boom.command-add-new-os-release-values-to-Red-Hat-op.patch

f44195
From cd0c4e28b0b2de9000edd5b4b56612d610337552 Mon Sep 17 00:00:00 2001
f44195
From: "Bryn M. Reeves" <bmr@redhat.com>
f44195
Date: Tue, 14 Jun 2022 09:31:33 -0400
f44195
Subject: [PATCH 5/5] boom.command: add new os-release values to Red Hat
f44195
 optional keys list
f44195
f44195
Add "Red Hat Enterprise Linux" (NAME for el8 onwards), and "Fedora
f44195
Linux" (NAME for fc35 onwards) to the table of names to automatically
f44195
enable grub optional keys for.
f44195
f44195
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
f44195
(cherry picked from commit 0cb2d8da9de6fa01ebc5193e7ab6710a9c7b7125)
f44195
---
f44195
 boom/command.py | 2 ++
f44195
 1 file changed, 2 insertions(+)
f44195
f44195
diff --git a/boom/command.py b/boom/command.py
f44195
index 0ef66ee..07c0616 100644
f44195
--- a/boom/command.py
f44195
+++ b/boom/command.py
f44195
@@ -1094,9 +1094,11 @@ def _default_optional_keys(osp):
f44195
     """
f44195
     all_optional_keys = "grub_users grub_arg grub_class id"
f44195
     _default_optional_keys = [
f44195
+        "Red Hat Enterprise Linux",
f44195
         "Red Hat Enterprise Linux Server",
f44195
         "Red Hat Enterprise Linux Workstation",
f44195
         "CentOS Linux",
f44195
+        "Fedora Linux",
f44195
         "Fedora"
f44195
     ]
f44195
     if osp.os_name in _default_optional_keys:
f44195
-- 
f44195
2.34.3
f44195