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.c...@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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152019): 
https://lists.openembedded.org/g/openembedded-core/message/152019
Mute This Topic: https://lists.openembedded.org/mt/82906470/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to