* is it not a *requirement* that layers start with "meta-"?
@ 2014-12-30 14:20 Robert P. J. Day
2014-12-30 15:45 ` peterengcomau001
0 siblings, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2014-12-30 14:20 UTC (permalink / raw)
To: Yocto discussion list
just proofing the BSP Guide and i read again that starting a layer
name with "meta-" is not an actual requirement, it's just standard
practice. but is there no code/script anywhere that requires that
prefix to process the layer properly?
i'm pretty sure i've run across YP utilities that check specifically
for a "meta-" prefix, so that would make that prefix mandatory, would
it not? i wish i could remember where i've seen this, but it eludes me
at the moment.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: is it not a *requirement* that layers start with "meta-"? 2014-12-30 14:20 is it not a *requirement* that layers start with "meta-"? Robert P. J. Day @ 2014-12-30 15:45 ` peterengcomau001 2014-12-30 19:24 ` Robert P. J. Day 0 siblings, 1 reply; 9+ messages in thread From: peterengcomau001 @ 2014-12-30 15:45 UTC (permalink / raw) To: Robert P. J. Day, Yocto discussion list [-- Attachment #1: Type: text/plain, Size: 1384 bytes --] If you use the yocto scripts for setting up a new layer, it automatically prepends 'meta-'. That may be why there is no requirement.Lachlan ----- Original Message ----- From: "Robert P. J. Day" To:"Yocto discussion list" Cc: Sent:Tue, 30 Dec 2014 09:20:55 -0500 (EST) Subject:[yocto] is it not a *requirement* that layers start with "meta-"? just proofing the BSP Guide and i read again that starting a layer name with "meta-" is not an actual requirement, it's just standard practice. but is there no code/script anywhere that requires that prefix to process the layer properly? i'm pretty sure i've run across YP utilities that check specifically for a "meta-" prefix, so that would make that prefix mandatory, would it not? i wish i could remember where i've seen this, but it eludes me at the moment. 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 yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ---- Message sent via Adam Internet WebMail - http://www.adam.com.au/ [-- Attachment #2: Type: text/html, Size: 2049 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2014-12-30 15:45 ` peterengcomau001 @ 2014-12-30 19:24 ` Robert P. J. Day 2015-01-05 16:42 ` Rifenbark, Scott M 0 siblings, 1 reply; 9+ messages in thread From: Robert P. J. Day @ 2014-12-30 19:24 UTC (permalink / raw) To: peterengcomau001; +Cc: Yocto discussion list On Wed, 31 Dec 2014, peterengcomau001@adam.com.au wrote: > If you use the yocto scripts for setting up a new layer, it > automatically prepends 'meta-'. That may be why there is no > requirement but that still doesn't address that (from memory) some OE scripts/utils seem to *require* layers start with the prefix "meta-". i guess i can just grep the OE layer and look for build scripts that contain that string and see which ones have that requirement. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2014-12-30 19:24 ` Robert P. J. Day @ 2015-01-05 16:42 ` Rifenbark, Scott M 2015-01-05 17:08 ` Robert P. J. Day 0 siblings, 1 reply; 9+ messages in thread From: Rifenbark, Scott M @ 2015-01-05 16:42 UTC (permalink / raw) To: Robert P. J. Day, peterengcomau001@adam.com.au; +Cc: Yocto discussion list If anyone can locate some scripts or something that actually does require "meta-" to be prepended please let me know. That changes how we describe this. Scott >-----Original Message----- >From: yocto-bounces@yoctoproject.org [mailto:yocto- >bounces@yoctoproject.org] On Behalf Of Robert P. J. Day >Sent: Tuesday, December 30, 2014 11:25 AM >To: peterengcomau001@adam.com.au >Cc: Yocto discussion list >Subject: Re: [yocto] is it not a *requirement* that layers start with "meta-"? > >On Wed, 31 Dec 2014, peterengcomau001@adam.com.au wrote: > >> If you use the yocto scripts for setting up a new layer, it >> automatically prepends 'meta-'. That may be why there is no >> requirement > > but that still doesn't address that (from memory) some OE scripts/utils seem >to *require* layers start with the prefix "meta-". >i guess i can just grep the OE layer and look for build scripts that contain that >string and see which ones have that requirement. > >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 >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2015-01-05 16:42 ` Rifenbark, Scott M @ 2015-01-05 17:08 ` Robert P. J. Day 2015-01-08 13:20 ` Anders Darander 0 siblings, 1 reply; 9+ messages in thread From: Robert P. J. Day @ 2015-01-05 17:08 UTC (permalink / raw) To: Rifenbark, Scott M; +Cc: Yocto discussion list, peterengcomau001@adam.com.au On Mon, 5 Jan 2015, Rifenbark, Scott M wrote: > If anyone can locate some scripts or something that actually does > require "meta-" to be prepended please let me know. That changes > how we describe this. as an admittedly simple example, i ran across this in oe-core's scripts/contrib/documentation-audit.sh: for pkg in `bitbake -s | awk '{ print \$1 }'`; do ... snip ... if [[ "$pkg" =~ ^meta- || "$pkg" =~ ^packagegroup- || "$pkg" =~ -image ]]; then # Skip meta, task and image recipes continue fi checking that the package name starts with "meta-" seems to pretty clearly suggest that it will be treated differently than if it doesn't. i'm sure no one is terribly worried about that particular script, but it does seem to show an example of this. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2015-01-05 17:08 ` Robert P. J. Day @ 2015-01-08 13:20 ` Anders Darander 2015-01-08 13:31 ` Robert P. J. Day 0 siblings, 1 reply; 9+ messages in thread From: Anders Darander @ 2015-01-08 13:20 UTC (permalink / raw) To: Robert P. J. Day; +Cc: Yocto discussion list, peterengcomau001@adam.com.au * Robert P. J. Day <rpjday@crashcourse.ca> [150105 18:09]: > On Mon, 5 Jan 2015, Rifenbark, Scott M wrote: > > If anyone can locate some scripts or something that actually does > > require "meta-" to be prepended please let me know. That changes > > how we describe this. > as an admittedly simple example, i ran across this in oe-core's > scripts/contrib/documentation-audit.sh: > for pkg in `bitbake -s | awk '{ print \$1 }'`; do > ... snip ... > if [[ "$pkg" =~ ^meta- || "$pkg" =~ ^packagegroup- || "$pkg" =~ -image ]]; then > # Skip meta, task and image recipes > continue > fi > checking that the package name starts with "meta-" seems to > pretty clearly suggest that it will be treated differently than if it > doesn't. i'm sure no one is terribly worried about that particular > script, but it does seem to show an example of this. But that's checking *recipe* names, not layer names... Thus, you'll have to look for another example. ;) Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2015-01-08 13:20 ` Anders Darander @ 2015-01-08 13:31 ` Robert P. J. Day 0 siblings, 0 replies; 9+ messages in thread From: Robert P. J. Day @ 2015-01-08 13:31 UTC (permalink / raw) To: Anders Darander; +Cc: Yocto discussion list, peterengcomau001@adam.com.au On Thu, 8 Jan 2015, Anders Darander wrote: > * Robert P. J. Day <rpjday@crashcourse.ca> [150105 18:09]: > > > On Mon, 5 Jan 2015, Rifenbark, Scott M wrote: > > > > If anyone can locate some scripts or something that actually does > > > require "meta-" to be prepended please let me know. That changes > > > how we describe this. > > > as an admittedly simple example, i ran across this in oe-core's > > scripts/contrib/documentation-audit.sh: > > > for pkg in `bitbake -s | awk '{ print \$1 }'`; do > > > ... snip ... > > > if [[ "$pkg" =~ ^meta- || "$pkg" =~ ^packagegroup- || "$pkg" =~ -image ]]; then > > # Skip meta, task and image recipes > > continue > > fi > > > > checking that the package name starts with "meta-" seems to > > pretty clearly suggest that it will be treated differently than if it > > doesn't. i'm sure no one is terribly worried about that particular > > script, but it does seem to show an example of this. > > But that's checking *recipe* names, not layer names... > > Thus, you'll have to look for another example. ;) ah, quite so, so perhaps the "meta-" prefix is not a real requirement, just convention. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <mailman.26028.1420723936.26702.yocto@yoctoproject.org>]
* Re: is it not a *requirement* that layers start with "meta-"? [not found] <mailman.26028.1420723936.26702.yocto@yoctoproject.org> @ 2015-01-08 14:05 ` micke.prag 2015-01-08 14:15 ` Robert P. J. Day 0 siblings, 1 reply; 9+ messages in thread From: micke.prag @ 2015-01-08 14:05 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 1080 bytes --] > Message: 6 > Date: Thu, 8 Jan 2015 08:31:58 -0500 (EST) > From: "Robert P. J. Day" <rpjday@crashcourse.ca> > To: Anders Darander <anders@chargestorm.se> > Cc: Yocto discussion list <yocto@yoctoproject.org>, > "peterengcomau001@adam.com.au" <peterengcomau001@adam.com.au> > Subject: Re: [yocto] is it not a *requirement* that layers start with > "meta-"? > Message-ID: <alpine.LFD.2.11.1501080831200.31772@localhost> > Content-Type: TEXT/PLAIN; charset=US-ASCII > > On Thu, 8 Jan 2015, Anders Darander wrote: > >> * Robert P. J. Day <rpjday@crashcourse.ca> [150105 18:09]: >> >>> On Mon, 5 Jan 2015, Rifenbark, Scott M wrote: >> >>>> If anyone can locate some scripts or something that actually does require "meta-" to be prepended please let me know. That changes how we describe this. >> for pkg in `bitbake -s | awk '{ print $1 }'`; do ... snip ... > > ah, quite so, so perhaps the "meta-" prefix is not a real > requirement, just convention. > > rday > > -- The layer "openembedded-core" does not start with "meta-". [-- Attachment #2: Type: text/html, Size: 3325 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: is it not a *requirement* that layers start with "meta-"? 2015-01-08 14:05 ` micke.prag @ 2015-01-08 14:15 ` Robert P. J. Day 0 siblings, 0 replies; 9+ messages in thread From: Robert P. J. Day @ 2015-01-08 14:15 UTC (permalink / raw) To: micke.prag; +Cc: yocto On Thu, 8 Jan 2015, micke.prag@telldus.se wrote: > > Message: 6 > Date: Thu, 8 Jan 2015 08:31:58 -0500 (EST) > From: "Robert P. J. Day" <rpjday@crashcourse.ca> > To: Anders Darander <anders@chargestorm.se> > Cc: Yocto discussion list <yocto@yoctoproject.org>, > "peterengcomau001@adam.com.au" <peterengcomau001@adam.com.au> > Subject: Re: [yocto] is it not a *requirement* that layers start with > "meta-"? > Message-ID: <alpine.LFD.2.11.1501080831200.31772@localhost> > Content-Type: TEXT/PLAIN; charset=US-ASCII > > On Thu, 8 Jan 2015, Anders Darander wrote: > * Robert P. J. Day <rpjday@crashcourse.ca> [150105 18:09]: > On Mon, 5 Jan 2015, Rifenbark, Scott M wrote: > > If anyone can locate some scripts or something that > actually does require "meta-" to be prepended please let > me know. That changes how we describe this. > > as an admittedly simple example, i ran across this in oe-core's > scripts/contrib/documentation-audit.sh: > > for pkg in `bitbake -s | awk '{ print \$1 }'`; do > > ... snip ... > > if [[ "$pkg" =~ ^meta- || "$pkg" =~ ^packagegroup- || "$pkg" =~ > -image ]]; then # Skip meta, task and image recipes continue fi > > checking that the package name starts with "meta-" seems to pretty > clearly suggest that it will be treated differently than if it > doesn't. i'm sure no one is terribly worried about that particular > script, but it does seem to show an example of this. > > But that's checking *recipe* names, not layer names... Thus, you'll have to look > for another example. ;) > > ah, quite so, so perhaps the "meta-" prefix is not a real > requirement, just convention. > > rday > > -- > > The layer "openembedded-core" does not start with "meta-". well, yes, but that's kind of a special case as it's the only *required* layer. in any event, i apologize if i made a bigger deal out of this than was warranted, i just thought the rules for layer naming were a bit ambiguous and i wanted some clarification. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-01-08 14:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 14:20 is it not a *requirement* that layers start with "meta-"? Robert P. J. Day
2014-12-30 15:45 ` peterengcomau001
2014-12-30 19:24 ` Robert P. J. Day
2015-01-05 16:42 ` Rifenbark, Scott M
2015-01-05 17:08 ` Robert P. J. Day
2015-01-08 13:20 ` Anders Darander
2015-01-08 13:31 ` Robert P. J. Day
[not found] <mailman.26028.1420723936.26702.yocto@yoctoproject.org>
2015-01-08 14:05 ` micke.prag
2015-01-08 14:15 ` Robert P. J. Day
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.