From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/openssh: also install ssh-copy-id script
Date: Thu, 8 Feb 2018 17:21:46 +0100 [thread overview]
Message-ID: <20180208162146.GA3325@scaer> (raw)
In-Reply-To: <a0599020-62f5-6176-b7ae-7beac2125c23@free.fr>
Julien, All,
On 2018-02-08 11:28 +0100, Julien Boibessot spake thusly:
>
> On 07/02/2018 19:54, Yann E. MORIN wrote:
> > Julien, All,
> >
> > On 2018-02-07 19:35 +0100, julien.boibessot at free.fr spake thusly:
> >> From: Julien BOIBESSOT <julien.boibessot@armadeus.com>
> >>
> >> This script is useful to copy SSH keys between client and server [1] and
> >> installed on most distributions (for example on debian: [2]).
> >>
> >> [1] https://www.ssh.com/ssh/copy-id
> >> [2] https://packages.debian.org/fr/jessie/armhf/openssh-client/filelist
> >>
> >> Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
> >>
> >> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> >> index 6b7ac22..b0075e9 100644
> >> --- a/package/openssh/openssh.mk
> >> +++ b/package/openssh/openssh.mk
> >> @@ -73,4 +73,10 @@ define OPENSSH_INSTALL_INIT_SYSV
> >> $(TARGET_DIR)/etc/init.d/S50sshd
> >> endef
> >>
> >> +define OPENSSH_INSTALL_SSH_COPY_ID
> >> + $(INSTALL) -D -m 755 $(@D)/contrib/ssh-copy-id $(TARGET_DIR)/usr/bin
> > Usually, we write the full mode, i.e. 0755 (but the tree is mixed: 371
> > iterations of '0755', but only 116 for '0755').
>
> Well, in fact, I just copy-pasted what was done line 44 of the same
> makefile.
Then, intra-file consistency wins. ;-)
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2018-02-08 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-07 18:35 [Buildroot] [PATCH] package/openssh: also install ssh-copy-id script julien.boibessot at free.fr
2018-02-07 18:54 ` Yann E. MORIN
2018-02-08 10:28 ` Julien Boibessot
2018-02-08 16:21 ` Yann E. MORIN [this message]
2018-02-08 22:11 ` Thomas Petazzoni
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=20180208162146.GA3325@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.