From e47043f3a1960e894a862db57c2008eaf5c1d5b1 Mon Sep 17 00:00:00 2001 From: Julien Coloos Date: Tue, 13 Mar 2018 22:08:01 +0100 Subject: [PATCH] Drop '-m' option when calling dropbear Latest ArchLinux versions does not handle it. Boot fs is unlikely to have motd anyway. v0.6-1 --- ChangeLog | 5 +++++ PKGBUILD | 4 ++-- src/hooks/ssh-cryptsetup | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bafc537..34e57bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-03-13 Julien Coloos + + * v0.6-1 + Dropped '-m' option when calling dropbear (latest ArchLinux version does not handle it) + 2017-06-25 Julien Coloos * v0.5-1 diff --git a/PKGBUILD b/PKGBUILD index 3cba633..b9c40ec 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Julien Coloos pkgname=initrd-ssh-cryptsetup -pkgver=0.5 +pkgver=0.6 pkgrel=1 pkgdesc="Allows for LUKS-encrypted devices to be unlocked remotely over SSH" arch=('any') @@ -10,7 +10,7 @@ depends=('dropbear' 'cryptsetup' 'mkinitcpio-nfs-utils' 'iproute2') install=$pkgname.install changelog='ChangeLog' source=("http://julien.coloos.free.fr/archlinux/$pkgname-$pkgver.tar.xz" "$pkgname.install") -md5sums=('d87a35adbef55db89f32a89f4966a27a' +md5sums=('3fa8f5dd00a85b32025d01e5701e1407' 'ac60109d80e7bb2af0d66e69aaf178a6') package() { diff --git a/src/hooks/ssh-cryptsetup b/src/hooks/ssh-cryptsetup index 33b4cbb..5f1de8b 100644 --- a/src/hooks/ssh-cryptsetup +++ b/src/hooks/ssh-cryptsetup @@ -163,7 +163,7 @@ EOF touch "/var/log/lastlog" msg "Starting dropbear ..." - dropbear -Emsgjk -P "${path_dropbear_pid}" ${sshcs_opt_listen} + dropbear -Esgjk -P "${path_dropbear_pid}" ${sshcs_opt_listen} # Actual unlocking sshcs_unlock