nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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