mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: ptxdist@pengutronix.de
Cc: Ian Abbott <abbotti@mev.co.uk>
Subject: [ptxdist] [PATCH] dropbear: set sftp-server path to match installed location
Date: Fri, 29 Apr 2022 10:09:50 +0100	[thread overview]
Message-ID: <20220429090950.19891-1-abbotti@mev.co.uk> (raw)

PTXdist installs sftp-server to /usr/sbin/sftp-server, but dropbear
looks for it at /usr/libexec/sftp-server by default.  Set the
SFTPSERVER_PATH macro in the localoptions.h to make dropbear look for it
in the installed location.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 rules/dropbear.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/dropbear.make b/rules/dropbear.make
index 678bd7d85..066453259 100644
--- a/rules/dropbear.make
+++ b/rules/dropbear.make
@@ -255,6 +255,10 @@ else
 	@echo "#define DROPBEAR_CLI_PUBKEY_AUTH 0" >> $(DROPBEAR_LOCALOPTIONS)
 endif
 
+# match ptxdist sftp-server installation path
+	@echo "ptxdist: setting sftp-server path"
+	@echo '#define SFTPSERVER_PATH "/usr/sbin/sftp-server"' >> $(DROPBEAR_LOCALOPTIONS)
+
 	@$(call touch)
 
 DROPBEAR_MAKE_OPT	:= all scp
-- 
2.35.1




             reply	other threads:[~2022-04-29  9:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  9:09 Ian Abbott [this message]
2022-04-29  9:23 ` Alexander Dahl
2022-06-20  6:19 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220429090950.19891-1-abbotti@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox