[Buildroot] [PATCH 1/1] package/tailscale: install service files

yann.morin at orange.com yann.morin at orange.com
Fri Apr 11 14:56:49 UTC 2025


Yuanhao, All,

On 2025-04-11 04:37 -0700, TIAN Yuanhao spake thusly:
> Install tailscaled to /usr/sbin, as the service file references that
> location.
> 
> Signed-off-by: TIAN Yuanhao <tianyuanhao3 at 163.com>
> Cc: James Hilliard <james.hilliard1 at gmail.com>
> ---
[--SNIP--]
> +define TAILSCALE_INSTALL_TARGET_CMDS
> +	$(INSTALL) -D -m 0755 $(@D)/bin/tailscale \
> +		$(TARGET_DIR)/usr/bin/tailscale
> +	$(INSTALL) -D -m 0755 $(@D)/bin/tailscaled \
> +		$(TARGET_DIR)/usr/sbin/tailscaled
> +endef

I would suggest that, rather than override the default _CMDS, you
provide a post-install hook that does a symlink in sbin.

> +define TAILSCALE_INSTALL_INIT_OPENRC
[--SNIP--]
> +define TAILSCALE_INSTALL_INIT_SYSTEMD
[--SNIP--]

What about TAILSCALE_INSTALL_INIT_SYSV ?

Regards,
Yann E. MORIN.

-- 
                                        ____________
.-----------------.--------------------:       _    :------------------.
|  Yann E. MORIN  | Real-Time Embedded |    __/ )   | /"\ ASCII RIBBON |
|                 | Software  Designer |  _/ - /'   | \ / CAMPAIGN     |
| +33 638.411.245 '--------------------: (_    `--, |  X  AGAINST      |
| yann.morin (at) orange.com           |_="    ,--' | / \ HTML MAIL    |
'--------------------------------------:______/_____:------------------'

____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


More information about the buildroot mailing list