All of lore.kernel.org
 help / color / mirror / Atom feed
* How to get git tag + SHA as part of package name #yocto
@ 2021-08-03  6:48 msg board
  0 siblings, 0 replies; only message in thread
From: msg board @ 2021-08-03  6:48 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

Hello,
I would like to have the git tag + SHA as part of the package name . I created an anonymous function which uses git ls-remote command however this anonymous function is called multiple times when recipe runs. Is there a way that the command runs only one in the beginning and sets a variable which can be used in whole recipe?
My anonymous function is called multiple times in recipe and the variable PV that it sets in recipe is reset everytime. Any  help is appreciated..thanks

[-- Attachment #2: Type: text/html, Size: 503 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-03  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  6:48 How to get git tag + SHA as part of package name #yocto msg board

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.