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