Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] base.bbclass: Fix dangling NATIVELSBSTRING
@ 2021-01-06 12:04 Robert Yang
  2021-01-06 12:04 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2021-01-06 12:04 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 23cb39a5fa2a55681e7bc2605f435135cec9173b:

  diffstat: point the license checksum at the license (2021-01-05 13:48:07 +0000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/lsb
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/lsb

Robert Yang (1):
  base.bbclass: Fix dangling NATIVELSBSTRING

 meta/classes/base.bbclass | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1


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

* [PATCH 1/1] base.bbclass: Fix dangling NATIVELSBSTRING
  2021-01-06 12:04 [PATCH 0/1] base.bbclass: Fix dangling NATIVELSBSTRING Robert Yang
@ 2021-01-06 12:04 ` Robert Yang
  2021-01-07 23:34   ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2021-01-06 12:04 UTC (permalink / raw)
  To: openembedded-core

Fixed:
$ rm -fr tmp; bitbake quilt-native -n
Build Configuration:
[snip]
NATIVELSBSTRING      = "ubuntu-18.04"
[snip]

And when run bitbake again:
$ bitbake quilt-native -n
Build Configuration:
NATIVELSBSTRING      = "universal"

It has been changed from ubuntu-18.04 to universal on the same host and build
directory, this is because it is overridded by NATIVELSBSTRING. This patch
makes it print the correct value.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/base.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 78ae28bb0f4..aeb41efd24d 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -208,6 +208,8 @@ BUILDCFG_FUNCS[type] = "list"
 def buildcfg_vars(d):
     statusvars = oe.data.typed_value('BUILDCFG_VARS', d)
     for var in statusvars:
+        if var == 'NATIVELSBSTRING':
+            var = 'ORIGNATIVELSBSTRING'
         value = d.getVar(var)
         if value is not None:
             yield '%-20s = "%s"' % (var, value)
-- 
2.17.1


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

* Re: [OE-core] [PATCH 1/1] base.bbclass: Fix dangling NATIVELSBSTRING
  2021-01-06 12:04 ` [PATCH 1/1] " Robert Yang
@ 2021-01-07 23:34   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2021-01-07 23:34 UTC (permalink / raw)
  To: Robert Yang, openembedded-core

On Wed, 2021-01-06 at 04:04 -0800, Robert Yang wrote:
> Fixed:
> $ rm -fr tmp; bitbake quilt-native -n
> Build Configuration:
> [snip]
> NATIVELSBSTRING      = "ubuntu-18.04"
> [snip]
> 
> And when run bitbake again:
> $ bitbake quilt-native -n
> Build Configuration:
> NATIVELSBSTRING      = "universal"
> 
> It has been changed from ubuntu-18.04 to universal on the same host and build
> directory, this is because it is overridded by NATIVELSBSTRING. This patch
> makes it print the correct value.
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/classes/base.bbclass | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index 78ae28bb0f4..aeb41efd24d 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -208,6 +208,8 @@ BUILDCFG_FUNCS[type] = "list"
>  def buildcfg_vars(d):
>      statusvars = oe.data.typed_value('BUILDCFG_VARS', d)
>      for var in statusvars:
> +        if var == 'NATIVELSBSTRING':
> +            var = 'ORIGNATIVELSBSTRING'
>          value = d.getVar(var)
>          if value is not None:
>              yield '%-20s = "%s"' % (var, value)

I agree the display should be consistent and we perhaps need to look
again at how this code is working. I really don't like pretending one
value is another though so this isn't the correct fix.

Cheers,

Richard


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

* [PATCH 0/1] base.bbclass: Fix dangling NATIVELSBSTRING
@ 2023-02-14  8:28 Robert Yang
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2023-02-14  8:28 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 0049f6757f6f956fb4cc77b3df6a672c20b53cf4:

  oeqa qemurunner.py: try to avoid reading one character at a time (2023-02-10 09:25:41 +0000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib rbt/lsb
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/lsb

Robert Yang (1):
  base.bbclass: Fix dangling NATIVELSBSTRING

 meta/classes-global/base.bbclass | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-- 
2.39.0



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

end of thread, other threads:[~2023-02-14  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-06 12:04 [PATCH 0/1] base.bbclass: Fix dangling NATIVELSBSTRING Robert Yang
2021-01-06 12:04 ` [PATCH 1/1] " Robert Yang
2021-01-07 23:34   ` [OE-core] " Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2023-02-14  8:28 [PATCH 0/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox