grub2/0373-Include-license-into-grub-set-password-util.patch
Leo Sandoval f4f7a97672 Include license into grub-set-password util
Resolves: #RHEL-120704
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-11-06 11:32:17 -06:00

36 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Leo Sandoval <lsandova@redhat.com>
Date: Thu, 6 Nov 2025 11:19:16 -0600
Subject: [PATCH] Include license into grub-set-password util
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
---
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 <http://www.gnu.org/licenses/>.
grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'`