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

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