dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0127-Don-t-require-a-password-to-boot-entries-generated-b.patch

4fe85b
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4fe85b
From: Peter Jones <pjones@redhat.com>
4fe85b
Date: Tue, 11 Feb 2014 11:14:50 -0500
4fe85b
Subject: [PATCH] Don't require a password to boot entries generated by
4fe85b
 grub-mkconfig.
4fe85b
4fe85b
When we set a password, we just want that to mean you can't /edit/ an entry.
4fe85b
4fe85b
Resolves: rhbz#1030176
4fe85b
4fe85b
Signed-off-by: Peter Jones <pjones@redhat.com>
4fe85b
---
4fe85b
 util/grub.d/10_linux.in | 2 +-
4fe85b
 1 file changed, 1 insertion(+), 1 deletion(-)
4fe85b
4fe85b
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
4fe85b
index acf2e0e2d37..136abd7a6e3 100644
4fe85b
--- a/util/grub.d/10_linux.in
4fe85b
+++ b/util/grub.d/10_linux.in
4fe85b
@@ -26,7 +26,7 @@ datarootdir="@datarootdir@"
4fe85b
 export TEXTDOMAIN=@PACKAGE@
4fe85b
 export TEXTDOMAINDIR="@localedir@"
4fe85b
 
4fe85b
-CLASS="--class gnu-linux --class gnu --class os"
4fe85b
+CLASS="--class gnu-linux --class gnu --class os --unrestricted"
4fe85b
 
4fe85b
 if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
4fe85b
   OS="$(sed 's, release .*$,,g' /etc/system-release)"