On Mon, 2023-07-31 at 14:15 +0200, Alexander Kanavin wrote: > On Mon, 31 Jul 2023 at 14:04, Richard Purdie > <[email protected]> wrote: > > You could think about using the layer name in these contexts as layers > > should be defining them at this point? > > > > Yes, getting the layer name means parsing but we can likely handle that > > at this point as we're in python. > > You mean getting BBFILE_COLLECTIONS value out of conf/layer.conf? That > should be fairly easy with standard python, yes.
I think we should be able to use bits of bitbake to help too? > > > Should we be fine with just conf-notes.txt containing the template > > > description as a freeform plaintext, or is there a use case for more > > > structured template metadata? > > > > Could/should it be a variable in layer.conf? > > I'm not quite following - what kind of variable would that be, and > with what kind of value? Each template needs its own set of metadata > (or freeform description in conf-notes.txt as a minimum), so > layer.conf is probably not the place? That indeed doesn't make sense and I'm not thinking clearly. I feel pressured to get you some reply, long overdue but obviously I didn't spend enough time working through the details, sorry :(. The conf-notes.txt has a specific purpose and I don't like the idea of trying to make it to two things badly. We therefore need to put this information into which is likely a new location, probably a new conf file within each template directory? Ultimately perhaps we put conf-notes into the new config file too as a separate variable? That text file was good as a quick hack a decade ago but we probably need to rethink how some of this works now. That can come in due course though. Establishing a location for new information about each template is probably the right first step. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#185142): https://lists.openembedded.org/g/openembedded-core/message/185142 Mute This Topic: https://lists.openembedded.org/mt/98802403/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
