[Buildroot] [PATCH 08/15] openssh: move systemd service files to /usr/lib

Steven Noonan steven at uplinklabs.net
Thu Mar 19 19:58:28 UTC 2015


On Thu, Mar 19, 2015 at 10:56 AM, Mike Williams <mike at mikebwilliams.com> wrote:
> Signed-off-by: Mike Williams <mike at mikebwilliams.com>

Reviewed-by: Steven Noonan <steven at uplinklabs.net>

> ---
>  package/openssh/openssh.mk | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 08f3fa0..eccfad1 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -36,10 +36,10 @@ endif
>
>  define OPENSSH_INSTALL_INIT_SYSTEMD
>         $(INSTALL) -D -m 644 package/openssh/sshd.service \
> -               $(TARGET_DIR)/etc/systemd/system/sshd.service
> +               $(TARGET_DIR)/usr/lib/systemd/system/sshd.service
>         mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
> -       ln -fs ../sshd.service \
> -               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/sshd.service
> +       ln -fs /usr/lib/systemd/system/sshd.service \
> +               $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/sshd.service
>  endef
>
>  define OPENSSH_INSTALL_INIT_SYSV
> --
> 2.1.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list