nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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