Re: Yocto recipe for Tailscale #yocto #golang


Nicolas Jeker
 

Hi Mike,

On Thu, 2020-09-17 at 22:43 -0700, Mike Thompson via
lists.yoctoproject.org wrote:
Does anyone know if there is an existing bitbake recipe for building
the Tailscale client daemon and CLI tool from the following source?
A search on Google yielded no obvious links.

https://github.com/tailscale/tailscale
I usually search on the OpenEmbedded layer index:
http://layers.openembedded.org/layerindex/branch/master/recipes/?q=tailscale

Seems like you are right, there seems to be no recipe available. Be
aware that not all recipes/layers are listed there, but the majority
are.


The Tailscale client for Linux looks to be built using the Go
language which is a complete unknown to me. I've built very simple
recipes before for basic Makefile and Automake built software, but I
suppose Go brings a new set of challenges.

If an existing recipe is not available, any words of wisdom before I
get started on this?
I never used Go in the Yocto/OpenEmbedded environment, but I'm sure
somebody else who has more experience will be able to help. To get
started with writing a new recipe I usually get my inspiration from
similar recipes (similar language, build system, dependencies, etc.).

Thanks,

Mike Thompson

Join yocto@lists.yoctoproject.org to automatically receive all group messages.