dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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