15a207
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
15a207
From: Peter Jones <pjones@redhat.com>
15a207
Date: Sat, 23 Jun 2018 13:19:15 -0400
15a207
Subject: [PATCH] Make grub-set-password be named like all the other grub
15a207
 utilities
15a207
15a207
Signed-off-by: Peter Jones <pjones@redhat.com>
15a207
---
15a207
 configure.ac                                       | 2 +-
15a207
 Makefile.util.def                                  | 4 ++--
15a207
 .gitignore                                         | 4 ++--
15a207
 util/{grub-setpassword.8 => grub-set-password.8}   | 8 ++++----
15a207
 util/{grub-setpassword.in => grub-set-password.in} | 0
15a207
 5 files changed, 9 insertions(+), 9 deletions(-)
15a207
 rename util/{grub-setpassword.8 => grub-set-password.8} (50%)
15a207
 rename util/{grub-setpassword.in => grub-set-password.in} (100%)
15a207
15a207
diff --git a/configure.ac b/configure.ac
15a207
index 359cac3c26b..5f47a9265f3 100644
15a207
--- a/configure.ac
15a207
+++ b/configure.ac
15a207
@@ -66,7 +66,7 @@ grub_TRANSFORM([grub-mkrelpath])
15a207
 grub_TRANSFORM([grub-mkrescue])
15a207
 grub_TRANSFORM([grub-probe])
15a207
 grub_TRANSFORM([grub-reboot])
15a207
-grub_TRANSFORM([grub-setpassword])
15a207
+grub_TRANSFORM([grub-set-password])
15a207
 grub_TRANSFORM([grub-rpm-sort])
15a207
 grub_TRANSFORM([grub-script-check])
15a207
 grub_TRANSFORM([grub-set-default])
15a207
diff --git a/Makefile.util.def b/Makefile.util.def
15a207
index 5da55393291..97cd8bdebd9 100644
15a207
--- a/Makefile.util.def
15a207
+++ b/Makefile.util.def
15a207
@@ -756,8 +756,8 @@ script = {
15a207
 };
15a207
 
15a207
 script = {
15a207
-  name = grub-setpassword;
15a207
-  common = util/grub-setpassword.in;
15a207
+  name = grub-set-password;
15a207
+  common = util/grub-set-password.in;
15a207
   mansection = 8;
15a207
   installdir = sbin;
15a207
 };
15a207
diff --git a/.gitignore b/.gitignore
3e07ee
index 6c4cfc53781..a999024652e 100644
15a207
--- a/.gitignore
15a207
+++ b/.gitignore
3e07ee
@@ -115,8 +115,8 @@ grub-*.tar.*
dbfd2e
 /grub*-set-bootflag.1
15a207
 /grub*-set-default
15a207
 /grub*-set-default.8
15a207
-/grub*-setsetpassword
15a207
-/grub*-setsetpassword.8
15a207
+/grub*-set-password
15a207
+/grub*-set-password.8
15a207
 /grub*-shell
15a207
 /grub*-shell-tester
15a207
 /grub*-sparc64-setup
15a207
diff --git a/util/grub-setpassword.8 b/util/grub-set-password.8
15a207
similarity index 50%
15a207
rename from util/grub-setpassword.8
15a207
rename to util/grub-set-password.8
15a207
index dc91dd6697b..9646546e43d 100644
15a207
--- a/util/grub-setpassword.8
15a207
+++ b/util/grub-set-password.8
15a207
@@ -1,12 +1,12 @@
15a207
-.TH GRUB-SETPASSWORD 3 "Thu Jun 25 2015"
15a207
+.TH GRUB-SET-PASSWORD 3 "Thu Jun 25 2015"
15a207
 .SH NAME
15a207
-\fBgrub-setpassword\fR \(em Generate the user.cfg file containing the hashed grub bootloader password.
15a207
+\fBgrub-set-password\fR \(em Generate the user.cfg file containing the hashed grub bootloader password.
15a207
 
15a207
 .SH SYNOPSIS
15a207
-\fBgrub-setpassword\fR [OPTION]
15a207
+\fBgrub-set-password\fR [OPTION]
15a207
 
15a207
 .SH DESCRIPTION
15a207
-\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.
15a207
+\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.
15a207
 
15a207
 The file has the format:
15a207
 GRUB2_PASSWORD=<\fIhashed password\fR>.
15a207
diff --git a/util/grub-setpassword.in b/util/grub-set-password.in
15a207
similarity index 100%
15a207
rename from util/grub-setpassword.in
15a207
rename to util/grub-set-password.in