From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Thu, 8 Feb 2018 17:21:46 +0100 Subject: [Buildroot] [PATCH] package/openssh: also install ssh-copy-id script In-Reply-To: References: <1518028559-22988-1-git-send-email-julien.boibessot@free.fr> <20180207185456.GB2250@scaer> Message-ID: <20180208162146.GA3325@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > >> > >> 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 > >> > >> 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" 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. | '------------------------------^-------^------------------^--------------------'