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: Wed, 7 Feb 2018 19:54:56 +0100 [thread overview]
Message-ID: <20180207185456.GB2250@scaer> (raw)
In-Reply-To: <1518028559-22988-1-git-send-email-julien.boibessot@free.fr>
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').
Regards,
Yann E. MORIN.
> +endef
> +
> +OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SSH_COPY_ID
> +
> $(eval $(autotools-package))
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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-07 18:54 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 [this message]
2018-02-08 10:28 ` Julien Boibessot
2018-02-08 16:21 ` Yann E. MORIN
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=20180207185456.GB2250@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox