mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ian Abbott <abbotti@mev.co.uk>
Subject: Re: [ptxdist] [APPLIED] dropbear: set sftp-server path to match installed location
Date: Mon, 20 Jun 2022 08:19:26 +0200	[thread overview]
Message-ID: <20220620061926.1491039-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220429090950.19891-1-abbotti@mev.co.uk>

Thanks, applied as a05703d36a6b2d829b7c53a0bb18b00247a534d8.

Michael

[sent from post-receive hook]

On Mon, 20 Jun 2022 08:19:26 +0200, Ian Abbott <abbotti@mev.co.uk> wrote:
> 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>
> Message-Id: <20220429090950.19891-1-abbotti@mev.co.uk>
> Reviewed-by: Alexander Dahl <ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/dropbear.make b/rules/dropbear.make
> index 678bd7d85778..0664532592a4 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



      parent reply	other threads:[~2022-06-20  6:20 UTC|newest]

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

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=20220620061926.1491039-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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