Blame SOURCES/0192-Make-grub-set-password-be-named-like-all-the-other-g.patch

d9d99f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d9d99f
From: Peter Jones <pjones@redhat.com>
d9d99f
Date: Sat, 23 Jun 2018 13:19:15 -0400
d9d99f
Subject: [PATCH] Make grub-set-password be named like all the other grub
d9d99f
 utilities
d9d99f
d9d99f
Signed-off-by: Peter Jones <pjones@redhat.com>
d9d99f
---
d9d99f
 configure.ac                                       | 2 +-
d9d99f
 Makefile.util.def                                  | 4 ++--
d9d99f
 .gitignore                                         | 4 ++--
d9d99f
 util/{grub-setpassword.8 => grub-set-password.8}   | 8 ++++----
d9d99f
 util/{grub-setpassword.in => grub-set-password.in} | 0
d9d99f
 5 files changed, 9 insertions(+), 9 deletions(-)
d9d99f
 rename util/{grub-setpassword.8 => grub-set-password.8} (50%)
d9d99f
 rename util/{grub-setpassword.in => grub-set-password.in} (100%)
d9d99f
d9d99f
diff --git a/configure.ac b/configure.ac
b71686
index 359cac3c2..5f47a9265 100644
d9d99f
--- a/configure.ac
d9d99f
+++ b/configure.ac
d9d99f
@@ -66,7 +66,7 @@ grub_TRANSFORM([grub-mkrelpath])
d9d99f
 grub_TRANSFORM([grub-mkrescue])
d9d99f
 grub_TRANSFORM([grub-probe])
d9d99f
 grub_TRANSFORM([grub-reboot])
d9d99f
-grub_TRANSFORM([grub-setpassword])
d9d99f
+grub_TRANSFORM([grub-set-password])
d9d99f
 grub_TRANSFORM([grub-rpm-sort])
d9d99f
 grub_TRANSFORM([grub-script-check])
d9d99f
 grub_TRANSFORM([grub-set-default])
d9d99f
diff --git a/Makefile.util.def b/Makefile.util.def
b71686
index 5da553932..97cd8bdeb 100644
d9d99f
--- a/Makefile.util.def
d9d99f
+++ b/Makefile.util.def
d9d99f
@@ -756,8 +756,8 @@ script = {
d9d99f
 };
d9d99f
 
d9d99f
 script = {
d9d99f
-  name = grub-setpassword;
d9d99f
-  common = util/grub-setpassword.in;
d9d99f
+  name = grub-set-password;
d9d99f
+  common = util/grub-set-password.in;
d9d99f
   mansection = 8;
d9d99f
   installdir = sbin;
d9d99f
 };
d9d99f
diff --git a/.gitignore b/.gitignore
b71686
index 424755921..7aaae594d 100644
d9d99f
--- a/.gitignore
d9d99f
+++ b/.gitignore
b71686
@@ -113,8 +113,8 @@ grub-*.tar.*
b71686
 /grub*-script-check.1
d9d99f
 /grub*-set-default
d9d99f
 /grub*-set-default.8
d9d99f
-/grub*-setsetpassword
d9d99f
-/grub*-setsetpassword.8
d9d99f
+/grub*-set-password
d9d99f
+/grub*-set-password.8
d9d99f
 /grub*-shell
d9d99f
 /grub*-shell-tester
d9d99f
 /grub*-sparc64-setup
d9d99f
diff --git a/util/grub-setpassword.8 b/util/grub-set-password.8
d9d99f
similarity index 50%
d9d99f
rename from util/grub-setpassword.8
d9d99f
rename to util/grub-set-password.8
b71686
index dc91dd669..9646546e4 100644
d9d99f
--- a/util/grub-setpassword.8
d9d99f
+++ b/util/grub-set-password.8
d9d99f
@@ -1,12 +1,12 @@
d9d99f
-.TH GRUB-SETPASSWORD 3 "Thu Jun 25 2015"
d9d99f
+.TH GRUB-SET-PASSWORD 3 "Thu Jun 25 2015"
d9d99f
 .SH NAME
d9d99f
-\fBgrub-setpassword\fR \(em Generate the user.cfg file containing the hashed grub bootloader password.
d9d99f
+\fBgrub-set-password\fR \(em Generate the user.cfg file containing the hashed grub bootloader password.
d9d99f
 
d9d99f
 .SH SYNOPSIS
d9d99f
-\fBgrub-setpassword\fR [OPTION]
d9d99f
+\fBgrub-set-password\fR [OPTION]
d9d99f
 
d9d99f
 .SH DESCRIPTION
d9d99f
-\fBgrub-setpassword\fR outputs the user.cfg file which contains the hashed GRUB bootloader password. This utility only supports configurations where there is a single root user.
d9d99f
+\fBgrub-set-password\fR outputs the user.cfg file which contains the hashed GRUB bootloader password. This utility only supports configurations where there is a single root user.
d9d99f
 
d9d99f
 The file has the format:
d9d99f
 GRUB2_PASSWORD=<\fIhashed password\fR>.
d9d99f
diff --git a/util/grub-setpassword.in b/util/grub-set-password.in
d9d99f
similarity index 100%
d9d99f
rename from util/grub-setpassword.in
d9d99f
rename to util/grub-set-password.in