All of lore.kernel.org
 help / color / mirror / Atom feed
* [poky][meta-poky][PATCH] poky.conf: do not use '+' in DISTRO_VERSION
@ 2021-05-18  7:09 Chen Qi
  0 siblings, 0 replies; only message in thread
From: Chen Qi @ 2021-05-18  7:09 UTC (permalink / raw)
  To: openembedded-core

If '+' is is DISTRO_VERSION and thus in SDKPATH, some sed command
could fail unexpectedly.

e.g.
bitbake nativesdk-xxhash
And we get the following error.
Makefile:422: *** configured libdir (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib) is outside of exec_prefix (/opt/poky/3.3+snapshot/sysroots/x86_6\
4-pokysdk-linux/usr), can't generate pkg-config file.  Stop.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 522cc92f74..380f50fea5 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -1,6 +1,6 @@
 DISTRO = "poky"
 DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
-DISTRO_VERSION = "3.3+snapshot-${METADATA_REVISION}"
+DISTRO_VERSION = "3.3-snapshot-${METADATA_REVISION}"
 DISTRO_CODENAME = "master"
 SDK_VENDOR = "-pokysdk"
 SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
-- 
2.30.2


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

only message in thread, other threads:[~2021-05-18  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  7:09 [poky][meta-poky][PATCH] poky.conf: do not use '+' in DISTRO_VERSION Chen Qi

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.