commit: b3d1b0139a3fb021e934d8a096c6728e15552613
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 15:18:00 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 17:04:51 2020 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=b3d1b013
gen_initramfs.sh: append_dropbear(): Fix error message shown when
net-misc/dropbear is required
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_initramfs.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 46b924d..651bfbf 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -1239,8 +1239,8 @@ append_dropbear() {
then
print_info 3 "$(get_indent 2)${PN}: >> Will use
existing '${dropbear_command}' program from path to create missing keys ..."
else
- local error_msg="Need to generate
'${required_host_keys[*]}' but '${dropbear_command}'"
- error_msg=" program is missing. Please install
net-misc/dropbear and re-run genkernel!"
+ local error_msg="Need to generate
'${required_dropbear_host_keys[*]}' but '${dropbear_command}'"
+ error_msg+=" program is missing. Please install
net-misc/dropbear and re-run genkernel!"
gen_die "${error_msg}"
fi