mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: Ian Abbott <abbotti@mev.co.uk>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] dropbear: set sftp-server path to match installed location
Date: Fri, 29 Apr 2022 11:23:43 +0200	[thread overview]
Message-ID: <Ymuun+qWTSg6lgOg@ada.ifak-system.com> (raw)
In-Reply-To: <20220429090950.19891-1-abbotti@mev.co.uk>

Hello Ian,

Am Fri, Apr 29, 2022 at 10:09:50AM +0100 schrieb Ian Abbott:
> 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)

Reviewed-by: Alexander Dahl <ada@thorsis.com>

Greets
Alex

>  
>  DROPBEAR_MAKE_OPT	:= all scp
> -- 
> 2.35.1
> 
> 



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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  9:09 Ian Abbott
2022-04-29  9:23 ` Alexander Dahl [this message]
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=Ymuun+qWTSg6lgOg@ada.ifak-system.com \
    --to=ada@thorsis.com \
    --cc=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