Skip to contentSkip to conversation

is it not a *requirement* that layers start with "meta-"?

DISCUSSION [email protected] 2 participants 2 messages Jan 8, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines

Message: 6
Date: Thu, 8 Jan 2015 08:31:58 -0500 (EST)
From:

"Robert P. J. Day" <[email protected]>

Quoted 1 line

To: Anders Darander

<[email protected]>

Quoted 1 line
Cc Yocto discussion list

<[email protected]>,

Quoted 1 line

"[email protected]"

<[email protected]>

Quoted 1 line

Subject: Re: [yocto] is it not a

*requirement* that layers start with

Quoted 2 lines

"meta-"?
Message-ID:

<alpine.LFD.2.11.1501080831200.31772@localhost>

Quoted 1 line

Content-Type:

TEXT/PLAIN; charset=US-ASCII

Quoted 2 lines

On Thu, 8 Jan 2015, Anders Darander

Quoted 7 lines · wrote:
Quoted 7 lines · Robert P. J. Day
Quoted 5 lines · Scott M
Quoted 2 lines

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.

Quoted 5 lines
Quoted 1 line

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.

Quoted 4 lines

rday

--

The layer
"openembedded-core" does not start with "meta-".

#2 lore raw
Quoted 38 lines · On Thu, 8 Jan 2015, [email protected] wrote:

Message: 6
Date: Thu, 8 Jan 2015 08:31:58 -0500 (EST)
From: "Robert P. J. Day" <[email protected]>
To: Anders Darander <[email protected]>
Cc: Yocto discussion list <[email protected]>,

	"[email protected]" <[email protected]>
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 <[email protected]> [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. ;)

Quoted 8 lines

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

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
========================================================================