From f4f7a97672778cea3f6043c80ff8dade24d7daef Mon Sep 17 00:00:00 2001 From: Leo Sandoval Date: Thu, 6 Nov 2025 11:32:17 -0600 Subject: [PATCH] Include license into grub-set-password util Resolves: #RHEL-120704 Signed-off-by: Leo Sandoval --- ...-license-into-grub-set-password-util.patch | 35 +++++++++++++++++++ grub.patches | 1 + grub2.spec | 6 +++- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 0373-Include-license-into-grub-set-password-util.patch diff --git a/0373-Include-license-into-grub-set-password-util.patch b/0373-Include-license-into-grub-set-password-util.patch new file mode 100644 index 0000000..0e69e23 --- /dev/null +++ b/0373-Include-license-into-grub-set-password-util.patch @@ -0,0 +1,35 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Leo Sandoval +Date: Thu, 6 Nov 2025 11:19:16 -0600 +Subject: [PATCH] Include license into grub-set-password util + +Signed-off-by: Leo Sandoval +--- + util/grub-set-password.in | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/util/grub-set-password.in b/util/grub-set-password.in +index d8005e5a14..f6655add7b 100644 +--- a/util/grub-set-password.in ++++ b/util/grub-set-password.in +@@ -1,4 +1,20 @@ + #!/bin/sh -e ++# ++# Friendly password config tool from GRUB ++# Copyright (C) Free Software Foundation, Inc. ++# ++# GRUB is free software: you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation, either version 3 of the License, or ++# (at your option) any later version. ++# ++# GRUB is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with GRUB. If not, see . + + grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'` + diff --git a/grub.patches b/grub.patches index f4a4658..2da93a5 100644 --- a/grub.patches +++ b/grub.patches @@ -369,3 +369,4 @@ Patch0369: 0369-blscfg-check-if-variable-is-escaped-before-consideri.patch Patch0370: 0370-Set-correctly-the-memory-attributes-for-the-kernel-P.patch Patch0371: 0371-script-execute-Don-t-let-trailing-blank-lines-determ.patch Patch0372: 0372-normal-menu-Check-return-code-of-the-script-when-exe.patch +Patch0373: 0373-Include-license-into-grub-set-password-util.patch \ No newline at end of file diff --git a/grub2.spec b/grub2.spec index 79411fb..78271f4 100644 --- a/grub2.spec +++ b/grub2.spec @@ -17,7 +17,7 @@ Name: grub2 Epoch: 1 Version: 2.12 -Release: 32%{?dist} +Release: 33%{?dist} Summary: Bootloader with support for Linux, Multiboot and more License: GPL-3.0-or-later URL: http://www.gnu.org/software/grub/ @@ -574,6 +574,10 @@ fi %endif %changelog +* Thu Nov 06 2025 Leo Sandoval 2.12-33 +- Include license into grub-set-password util +- Resolves: #RHEL-120704 + * Tue Oct 28 2025 Leo Sandoval 2.12-32 - Disable annobin stack protection check - Resolves: #RHEL-89464