Skip to contentSkip to conversation

more BSP Guide pedantry involving customizing a recipe

DISCUSSION Robert P. J. Day 3 participants 5 messages Dec 30, 2014 – Jan 5, 2015

lore
Share & tools
lore
#0 lore raw

(you can tell i'm bored and want to get back up to speed on stuff
...)

section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears
to discuss a new layer, "meta-xyz", then suggests the new "interfaces" file for this machine needs to go at the location:

meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces

                                          ^^^ ???

but the files/ subdirectory of "xyz/" would appear to be necessary
(as we all know) only if this was a more general layer that represented several machines (say, meta-ti) for which we *needed* to distinguish between machines.

so while the above might be technically correct, it might mislead
readers to think they *needed* to create a "xyz/" subdirectory for that overriding interfaces file.

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
========================================================================
#1 lore raw
Quoted 11 lines · Robert P. J. Day

(you can tell i'm bored and want to get back up to speed on stuff
...)

section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears
to discuss a new layer, "meta-xyz", then suggests the new "interfaces" file for this machine needs to go at the location:

meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces

                                           ^^^ ???
Quoted 8 lines

but the files/ subdirectory of "xyz/" would appear to be necessary
(as we all know) only if this was a more general layer that represented several machines (say, meta-ti) for which we *needed* to distinguish between machines.

so while the above might be technically correct, it might mislead
readers to think they *needed* to create a "xyz/" subdirectory for that overriding interfaces file.

Actually, it *is* necessary if meta-xyz supports more than one MACHINE and those targets have unique versions of the 'interfaces' file (which is common since this file is being tailored for a particular target machine)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 17 lines · Gary Thomas
Quoted 16 lines · Robert P. J. Day

(you can tell i'm bored and want to get back up to speed on stuff
...)

section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears
to discuss a new layer, "meta-xyz", then suggests the new "interfaces" file for this machine needs to go at the location:

meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces

                                           ^^^ ???

but the files/ subdirectory of "xyz/" would appear to be necessary
(as we all know) only if this was a more general layer that represented several machines (say, meta-ti) for which we *needed* to distinguish between machines.

Quoted 9 lines
Quoted 3 lines

so while the above might be technically correct, it might mislead
readers to think they *needed* to create a "xyz/" subdirectory for that overriding interfaces file.

Actually, it *is* necessary if meta-xyz supports more than one MACHINE and those targets have unique versions of the 'interfaces' file (which is common since this file is being tailored for a particular target machine)

n.b. in this case you'd have
.../files/MACHINEa/interfaces
.../files/MACHINEb/interfaces
and so on

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
In reply to Gary Thomas
Quoted 17 lines · Gary Thomas
Quoted 16 lines · Robert P. J. Day

(you can tell i'm bored and want to get back up to speed on stuff
...)

section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears
to discuss a new layer, "meta-xyz", then suggests the new "interfaces" file for this machine needs to go at the location:

meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces

                                           ^^^ ???

but the files/ subdirectory of "xyz/" would appear to be necessary
(as we all know) only if this was a more general layer that represented several machines (say, meta-ti) for which we *needed* to distinguish between machines.

Quoted 8 lines
Quoted 3 lines

so while the above might be technically correct, it might mislead
readers to think they *needed* to create a "xyz/" subdirectory for that overriding interfaces file.

Actually, it *is* necessary if meta-xyz supports more than one MACHINE and those targets have unique versions of the 'interfaces' file (which is common since this file is being tailored for a particular target machine)

i realize that, but it's not clear from the wording of that section
that that could be a possibility. i just like to avoid potential confusion, and giving the reader the wrong impression.

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
========================================================================
#4 lore raw
In reply to Robert P. J. Day

Hi,

I have updated this section in the "latest" version of the BSP Guide. Thanks for the input.

Scott

Quoted 44 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Tuesday, December 30, 2014 11:32 AM
To: Yocto discussion list
Subject: [yocto] more BSP Guide pedantry involving customizing a recipe

(you can tell i'm bored and want to get back up to speed on stuff
...)

section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears to discuss
a new layer, "meta-xyz", then suggests the new "interfaces"
file for this machine needs to go at the location:

meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces

                                         ^^^ ???

but the files/ subdirectory of "xyz/" would appear to be necessary (as we all
know) only if this was a more general layer that represented several machines (say, meta-ti) for which we *needed* to distinguish between machines.

so while the above might be technically correct, it might mislead readers to
think they *needed* to create a "xyz/" subdirectory for that overriding interfaces file.

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto