All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] poky.conf: allow changes to DISTRO_VERSION, SDK_VERSION and MAINTAINER
@ 2022-09-22 12:24 Mikko Rapeli
  2022-09-22 12:24 ` [PATCH 2/2] git-describe.bbclass: add new class for "git describe --tags --allways --dirty" Mikko Rapeli
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mikko Rapeli @ 2022-09-22 12:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

For users who build their own variants of poky, they want to stay close
to poky.conf and thus use it, but would still like to change the
version details and maintainers to their own. With this change
these variables can be changed in local.conf, for example.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta-poky/conf/distro/poky.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 856c88554d..6df71ce18a 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -1,12 +1,12 @@
 DISTRO = "poky"
 DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
-DISTRO_VERSION = "4.1+snapshot-${METADATA_REVISION}"
+DISTRO_VERSION ?= "4.1+snapshot-${METADATA_REVISION}"
 DISTRO_CODENAME = "langdale"
 SDK_VENDOR = "-pokysdk"
-SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
+SDK_VERSION ?= "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
 SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
 
-MAINTAINER = "Poky <poky@lists.yoctoproject.org>"
+MAINTAINER ?= "Poky <poky@lists.yoctoproject.org>"
 
 TARGET_VENDOR = "-poky"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-22 13:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-22 12:24 [PATCH 1/2] poky.conf: allow changes to DISTRO_VERSION, SDK_VERSION and MAINTAINER Mikko Rapeli
2022-09-22 12:24 ` [PATCH 2/2] git-describe.bbclass: add new class for "git describe --tags --allways --dirty" Mikko Rapeli
2022-09-22 12:43   ` [OE-core] " Ross Burton
2022-09-22 13:16   ` Martin Jansa
2022-09-22 12:30 ` [OE-core] [PATCH 1/2] poky.conf: allow changes to DISTRO_VERSION, SDK_VERSION and MAINTAINER Alexander Kanavin
2022-09-22 12:42 ` Ross Burton
2022-09-22 12:45   ` Richard Purdie
2022-09-22 13:43     ` Mikko Rapeli
2022-09-22 13:55       ` Peter Kjellerstedt

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.