does bbappend wildcarding cover when there is no version string?
can't remember where this is properly covered, but we all know how
version wildcarding works with bbappend files, as discussed here:
https://docs.yoctoproject.org/ref-manual/terms.html#term-Append-Files
but do the docs explain what happens when there is no version number, such as with the perf.bb file?
https://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/perf
in cases like that, AIUI, the only bbappend format that will work will be perf.bbappend.
this might be worth clarifying in case readers get the impression
that the most general and all-encompassing wildcard pattern would be
perf_%.bbappend
rday
Quoted 10 lines · Robert P. J. Day
can't remember where this is properly covered, but we all know how
version wildcarding works with bbappend files, as discussed here:https://docs.yoctoproject.org/ref-manual/terms.html#term-Append-Files
but do the docs explain what happens when there is no version number, such as with the perf.bb file?
https://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/perf
Quoted 7 lines
in cases like that, AIUI, the only bbappend format that will work will be perf.bbappend.
this might be worth clarifying in case readers get the impression
that the most general and all-encompassing wildcard pattern would beperf_%.bbappend
FWIW I suspect
perf%.bbappend
would work but would also match
performance_1.0.bb
which is why we suggest perf_%.bbappend
Cheers,
Richard
Quoted 21 lines · Richard Purdie
Quoted 10 lines · Robert P. J. Day
can't remember where this is properly covered, but we all know how
version wildcarding works with bbappend files, as discussed here:https://docs.yoctoproject.org/ref-manual/terms.html#term-Append-Files
but do the docs explain what happens when there is no version number, such as with the perf.bb file?
https://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/perf
Quoted 7 lines
in cases like that, AIUI, the only bbappend format that will work will be perf.bbappend.
this might be worth clarifying in case readers get the impression
that the most general and all-encompassing wildcard pattern would beperf_%.bbappend
FWIW I suspect
Quoted 7 lines
perf%.bbappend
would work but would also match
performance_1.0.bb
which is why we suggest perf_%.bbappend
wait, that would *work*? even though the base recipe file is simply
"perf.bb"? i need to test this, i was sure i tried that once and it didn't match.
rday
Quoted 19 lines · Richard Purdie
Quoted 10 lines · Robert P. J. Day
can't remember where this is properly covered, but we all know how
version wildcarding works with bbappend files, as discussed here:https://docs.yoctoproject.org/ref-manual/terms.html#term-Append-Files
but do the docs explain what happens when there is no version number, such as with the perf.bb file?
https://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/perf
Quoted 7 lines
in cases like that, AIUI, the only bbappend format that will work will be perf.bbappend.
this might be worth clarifying in case readers get the impression
that the most general and all-encompassing wildcard pattern would beperf_%.bbappend
Quoted 7 lines
FWIW I suspect
perf%.bbappend
would work but would also match
performance_1.0.bb
i am definitely going to have to review my wildcarding, as i was
unaware that it could wildcard the actual recipe name itself; that seems just dangerous. personally, i would make illegal something like "perf%.bbappend" since i see no justification for that kind of weirdness.
rday