Skip to contentSkip to conversation

BB_DANGLINGAPPENDS_WARNONLY = "1" or "true"?

DISCUSSION Robert P. J. Day 3 participants 6 messages Nov 2, 2013 – Nov 4, 2013

lore
Share & tools
lore
#0 lore raw

(i can see it's going to be that kind of weekend.) ref manual reads:

BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "true"

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 7 lines · Robert P. J. Day

(i can see it's going to be that kind of weekend.) ref manual reads:

BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

Quoted 8 lines

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "true"

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

They are all correct. Accepted values are

"1", "yes", "true"

Quoted 16 lines

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 1 line · On Sunday 03 November 2013 12:49:16 Khem Raj wrote:

On Sat, Nov 2, 2013 at 3:27 AM, Robert P. J. Day <[email protected]>

Quoted 14 lines · wrote:
Quoted 14 lines

(i can see it's going to be that kind of weekend.) ref manual reads:
BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARN ONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "true"

Quoted 7 lines
Quoted 3 lines

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

They are all correct. Accepted values are

"1", "yes", "true"

Note - for this variable only. For consistency with other "boolean" type variables I'd suggest sticking to "1".

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 21 lines · Paul Eggleton
Quoted 1 line · On Sunday 03 November 2013 12:49:16 Khem Raj wrote:

On Sat, Nov 2, 2013 at 3:27 AM, Robert P. J. Day <[email protected]>

Quoted 18 lines · wrote:
Quoted 17 lines

(i can see it's going to be that kind of weekend.) ref manual reads:
BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARN ONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "true"

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

Quoted 6 lines
Quoted 3 lines

They are all correct. Accepted values are

"1", "yes", "true"

Note - for this variable only. For consistency with other "boolean" type variables I'd suggest sticking to "1".

wait ... so those three synonyms are equivalent for only that one
variable? ewwwwwwwwww ...

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
Quoted 27 lines · On Monday 04 November 2013 13:54:24 Robert P. J. Day wrote:
Quoted 26 lines · Paul Eggleton
Quoted 1 line · On Sunday 03 November 2013 12:49:16 Khem Raj wrote:

On Sat, Nov 2, 2013 at 3:27 AM, Robert P. J. Day <[email protected]>

Quoted 22 lines · wrote:
Quoted 16 lines

(i can see it's going to be that kind of weekend.) ref manual reads:
BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_W ARN
ONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONL Y
?= "true"

Quoted 3 lines

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

They are all correct. Accepted values are

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

"1", "yes", "true"

Note - for this variable only. For consistency with other "boolean" type variables I'd suggest sticking to "1".

wait ... so those three synonyms are equivalent for only that one
variable? ewwwwwwwwww ...

That's the way it has been coded in this instance I'm afraid, yes.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#5 lore raw
In reply to Paul Eggleton
Quoted 21 lines · Paul Eggleton
Quoted 1 line · On Sunday 03 November 2013 12:49:16 Khem Raj wrote:

On Sat, Nov 2, 2013 at 3:27 AM, Robert P. J. Day <[email protected]>

Quoted 18 lines · wrote:
Quoted 17 lines

(i can see it's going to be that kind of weekend.) ref manual reads:
BB_DANGLINGAPPENDS_WARNONLY = "1"

but some layers define:

meta-linaro/meta-aarch64/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" meta-linaro/meta-linaro-toolchain/conf/layer.conf:BB_DANGLINGAPPENDS_WARN ONLY = "true" meta-linaro/meta-linaro/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY = "true" poky-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "true"

so general question(s) -- is it understood that "1" and "true" are equivalent? should there be a standard? should the ref manual be enhanced, or should the above layers clean themselves up?

Quoted 6 lines
Quoted 3 lines

They are all correct. Accepted values are

"1", "yes", "true"

Note - for this variable only. For consistency with other "boolean" type variables I'd suggest sticking to "1”.

may be it should be deprecated slowly for other values.