how to un-blacklist a blacklisted recipe?
asking what is almost certainly a silly question, but as i'm poring
over the wind river LTS 19 (aka "zeus") developer's guide, i know that WR adds a feature for un-blacklisting blacklisted recipes via the PNWHITELIST variable, but the guide says something quite different in that it suggests that one can clear a blacklist from a recipe by setting the blacklist message to the empty string, as in:
PNBLACKLIST[recipe] = ""
um, wut?
oddly, there is no mention of WR's PNWHITELIST feature on that page,
so i assumed that 1) someone forgot to update the guide to mention it, and 2) setting the message to the empty string might be the standard YP way to do it, but i'm pretty sure that won't work.
is there a way to un-blacklist a blacklisted recipe using standard
YP? the reference manual entry for PNBLACKLIST doesn't suggest so:
https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PNBLACKLIST
thoughts?
rday
I don't use WR, but setting it to empty works fine for me.
Why do you think it shouldn't work? See
https://git.openembedded.org/openembedded-core/tree/meta/classes/blacklist.bbclass#n18
Quoted 34 lines · Robert P. J. Day
asking what is almost certainly a silly question, but as i'm poring
over the wind river LTS 19 (aka "zeus") developer's guide, i know that WR adds a feature for un-blacklisting blacklisted recipes via the PNWHITELIST variable, but the guide says something quite different in that it suggests that one can clear a blacklist from a recipe by setting the blacklist message to the empty string, as in:PNBLACKLIST[recipe] = ""
um, wut?
oddly, there is no mention of WR's PNWHITELIST feature on that page,
so i assumed that 1) someone forgot to update the guide to mention it, and 2) setting the message to the empty string might be the standard YP way to do it, but i'm pretty sure that won't work.is there a way to un-blacklist a blacklisted recipe using standard
YP? the reference manual entry for PNBLACKLIST doesn't suggest so:https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PNBLACKLIST
thoughts?
rday
Quoted 3 lines · Martin Jansa
I don't use WR, but setting it to empty works fine for me. Why do you think it shouldn't work? See
https://git.openembedded.org/openembedded-core/tree/meta/classes/blacklist.bbclass#n18
i tested it ... at least i *thought* i tested it on a blacklisted
recipe. i'll try it again, i guess i just misspelled something.
rday
Quoted 1 line · Martin Jansa
I don't use WR, but setting it to empty works fine for me.
*where* did you set it to empty? in your local.conf?
Quoted 2 lines
Why do you think it shouldn't work? See
https://git.openembedded.org/openembedded-core/tree/meta/classes/blacklist.bbclass#n18
Yes, in local.conf or distro config, both work fine.
Maybe your PNBLACKLIST you're trying to unblacklist is using normal assignment instead of weak one? See
http://git.openembedded.org/meta-openembedded/commit/?id=96a92761c0a1bb2317fa4ea422c32e4473405103
Quoted 10 lines · Robert P. J. Day
Quoted 1 line · Martin Jansa
I don't use WR, but setting it to empty works fine for me.
*where* did you set it to empty? in your local.conf?
Quoted 2 lines
Why do you think it shouldn't work? See
https://git.openembedded.org/openembedded-core/tree/meta/classes/blacklist.bbclass#n18
Quoted 3 lines · Martin Jansa
Yes, in local.conf or distro config, both work fine. Maybe your PNBLACKLIST you're trying to unblacklist is using normal assignment instead of weak one? See
i just now determined that that is exactly what is happening --
tried it with nanopb recipe from meta-oe, which contains:
PNBLACKLIST[nanopb] = "Needs forward porting to use python3"
switched that to weak assignment, all good. does that imply that, other than in perhaps exceptional circumstances, *all* blacklisting should use weak assignment?
rday
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Robert P. J. Day
Quoted 3 lines · Martin Jansa
Yes, in local.conf or distro config, both work fine. Maybe your PNBLACKLIST you're trying to unblacklist is using normal assignment instead of weak one? See
Quoted 8 lines
i just now determined that that is exactly what is happening --
tried it with nanopb recipe from meta-oe, which contains:PNBLACKLIST[nanopb] = "Needs forward porting to use python3"
switched that to weak assignment, all good. does that imply that, other than in perhaps exceptional circumstances, *all* blacklisting should use weak assignment?
never mind, just took a look at the commit which does exactly this.
is it worth submitting a patch to tweak the few hard assignments?
rday
Yes, it's worth. Thanks
Quoted 22 lines · Robert P. J. Day
Quoted 6 lines · Robert P. J. Day
Quoted 3 lines · Martin Jansa
Yes, in local.conf or distro config, both work fine. Maybe your PNBLACKLIST you're trying to unblacklist is using normal assignment instead of weak one? See
Quoted 8 lines
i just now determined that that is exactly what is happening --
tried it with nanopb recipe from meta-oe, which contains:PNBLACKLIST[nanopb] = "Needs forward porting to use python3"
switched that to weak assignment, all good. does that imply that, other than in perhaps exceptional circumstances, *all* blacklisting should use weak assignment?
never mind, just took a look at the commit which does exactly this.
is it worth submitting a patch to tweak the few hard assignments?rday
Quoted 1 line · Martin Jansa
Yes, it's worth. Thanks
done, and submitted. it was just my horrific luck that i was testing
that feature, and randomly grabbed two recipes that used standard assignment. le *sigh* ...
rday