grub2/0368-Make-grub-set-password-be-named-like-all-the-other-g.patch
Peter Jones 6b2dd0f731 Another arm building fix.
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-07-12 10:56:34 -04:00

89 lines
3.1 KiB
Diff

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