From 4c0363ae811aa9bc279622a6d3326512a31bab5f Mon Sep 17 00:00:00 2001 From: Piraty Date: Thu, 15 Mar 2018 11:31:27 +0100 Subject: [PATCH] dracut-crypt-ssh: hotfix motd issue with dropbear dropbear is not built with -m (show motd) anymore see: https://github.com/dracut-crypt-ssh/dracut-crypt-ssh/issues/25 --- srcpkgs/dracut-crypt-ssh/patches/motd_fix.patch | 10 ++++++++++ srcpkgs/dracut-crypt-ssh/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/dracut-crypt-ssh/patches/motd_fix.patch diff --git a/srcpkgs/dracut-crypt-ssh/patches/motd_fix.patch b/srcpkgs/dracut-crypt-ssh/patches/motd_fix.patch new file mode 100644 index 0000000000..f39f5adf38 --- /dev/null +++ b/srcpkgs/dracut-crypt-ssh/patches/motd_fix.patch @@ -0,0 +1,10 @@ +--- modules/60crypt-ssh/dropbear-start.sh ++++ modules/60crypt.ssh/dropbear-start.sh +@@ -12,6 +12,6 @@ + info " bubblebabble: ${bubble}" + done + +- /sbin/dropbear -m -s -j -k -p ${dropbear_port} -P /tmp/dropbear.pid ++ /sbin/dropbear -s -j -k -p ${dropbear_port} -P /tmp/dropbear.pid + [ $? -gt 0 ] && info 'Dropbear sshd failed to start' + } diff --git a/srcpkgs/dracut-crypt-ssh/template b/srcpkgs/dracut-crypt-ssh/template index 708119a790..2a7f05984d 100644 --- a/srcpkgs/dracut-crypt-ssh/template +++ b/srcpkgs/dracut-crypt-ssh/template @@ -1,7 +1,7 @@ # Template file for 'dracut-crypt-ssh' pkgname=dracut-crypt-ssh version=1.0.6 -revision=1 +revision=2 build_style=gnu-configure conf_files="/etc/dracut.conf.d/crypt-ssh.conf" hostmakedepends="dracut"