Skip to contentSkip to conversation

BSP guide refers to meta-fri2 as example for binary/ data, it has none

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

lore
Share & tools
lore
#0 lore raw

in sec 1.3.1 of BSP guide, there is an explanation of the
README.sources file. first, the text suggests that file is mandatory:

"You must include a README.sources in the meta-bsp_name directory."

however, as i read it, it's really only necessary when a layer provides some binary content in the binary/ subdirectory. the guide then goes on to claim that the meta-fri2 layer does just that, but i see no binary content in that layer -- in fact, none of the meta-intel sublayers appear to come with binary content. so perhaps that part of the guide can be updated to refer to an appropriate layer.

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

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Tuesday, December 30, 2014 10:20 AM
To: Yocto discussion list
Subject: [yocto] BSP guide refers to meta-fri2 as example for binary/ data, it has none

Quoted 4 lines

in sec 1.3.1 of BSP guide, there is an explanation of the README.sources file.
first, the text suggests that file is mandatory:

"You must include a README.sources in the meta-bsp_name directory."

I understood that for a released BSP to be considered Yocto-compliant, the README.sources files is a requirement.

Quoted 7 lines

however, as i read it, it's really only necessary when a layer provides some binary content in the binary/ subdirectory. the guide then goes on to claim that the meta-fri2 layer does just that, but i see no binary content in that layer -- in fact, none of the meta-intel sublayers appear to come with binary content. so perhaps that part of the guide can be updated to refer to an appropriate layer.

The wording here does imply that the sources are the ones used to generate the images that would be in the "binary/" directory. Can someone tell me if it would be more accurate to state that the README.sources file simply indicates where the sources to build the BSP are period... regardless of whether or not any binaries are included in that directory? Knowing that would help me make sure this section is not mis-leading. Also, knowing that would help me choose an appropriate example to point to for the README.sources file.

Quoted 19 lines

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

#2 lore raw
Quoted 10 lines · Scott M
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Tuesday, December 30, 2014 10:20 AM
To: Yocto discussion list
Subject: [yocto] BSP guide refers to meta-fri2 as example for binary/ data, it has none

Quoted 8 lines
Quoted 4 lines

in sec 1.3.1 of BSP guide, there is an explanation of the README.sources file.
first, the text suggests that file is mandatory:

"You must include a README.sources in the meta-bsp_name directory."

I understood that for a released BSP to be considered Yocto-compliant, the README.sources files is a requirement.

Quoted 1 line

Right, README.sources refers to the sources used to generate the binaries in a released BSP e.g. the release tarballs on the Yocto BSP Downloads page(s).

Quoted 7 lines
Quoted 6 lines

however, as i read it, it's really only necessary when a layer provides some binary content in the binary/ subdirectory. the guide then goes on to claim that the meta-fri2 layer does just that, but i see no binary content in that layer -- in fact, none of the meta-intel sublayers appear to come with binary content. so perhaps that part of the guide can be updated to refer to an appropriate layer.

Quoted 9 lines

The wording here does imply that the sources are the ones used to generate the images that would be in the "binary/" directory. Can someone tell me if it would be more accurate to state that the README.sources file simply indicates where the sources to build the BSP are period... regardless of whether or not any binaries are included in that directory? Knowing that would help me make sure this section is not mis-leading. Also, knowing that would help me choose an appropriate example to point to for the README.sources file.

No. the README.sources indicate what was actually used to build the images, which can and do contain much more than what is specified by the recipes in the BSP layer.

So README.sources is meaningless if there are no binaries in /binary, and the layer itself may have no /binary directory or README.sources until a tarball is generated for release, which generation might be done by the release process instead.

Again, this all refers to released BSPs, and if e.g. meta-fri2 doesn't have these in the meta-intel git repo, any meta-fri2 released BSP certainly does.

hth,

Tom

Quoted 19 lines
Quoted 19 lines

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

#3 lore raw

I fixed this up a bit.

Scott

Quoted 92 lines

-----Original Message-----
From: Zanussi, Tom
Sent: Monday, January 05, 2015 2:14 PM
To: Rifenbark, Scott M
Cc: Robert P. J. Day; Yocto discussion list
Subject: Re: [yocto] BSP guide refers to meta-fri2 as example for binary/ data, it has none

Quoted 11 lines · Scott M
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Tuesday, December 30, 2014 10:20 AM
To: Yocto discussion list
Subject: [yocto] BSP guide refers to meta-fri2 as example for binary/ data, it has none

in sec 1.3.1 of BSP guide, there is an explanation of the README.sources

file.

Quoted 7 lines
Quoted 3 lines

first, the text suggests that file is mandatory:

"You must include a README.sources in the meta-bsp_name directory."

I understood that for a released BSP to be considered Yocto-compliant, the README.sources files is a requirement.

Quoted 1 line

Right, README.sources refers to the sources used to generate the binaries in a released BSP e.g. the release tarballs on the Yocto BSP Downloads page(s).

Quoted 8 lines
Quoted 7 lines

however, as i read it, it's really only necessary when a layer provides some binary content in the binary/ subdirectory. the guide then goes on to claim that the meta-fri2 layer does just that, but i see no binary content in that layer
-- in fact, none of the meta-intel sublayers appear to come with binary content. so perhaps that part of the guide can be updated to refer to an appropriate layer.

Quoted 9 lines

The wording here does imply that the sources are the ones used to generate the images that would be in the "binary/" directory. Can someone tell me if it would be more accurate to state that the README.sources file simply indicates where the sources to build the BSP are period... regardless of whether or not any binaries are included in that directory? Knowing that would help me make sure this section is not mis-leading. Also, knowing that would help me choose an appropriate example to point to for the README.sources file.

No. the README.sources indicate what was actually used to build the images, which can and do contain much more than what is specified by the recipes in the BSP layer.

So README.sources is meaningless if there are no binaries in /binary, and the layer itself may have no /binary directory or README.sources until a tarball is generated for release, which generation might be done by the release process instead.

Again, this all refers to released BSPs, and if e.g. meta-fri2 doesn't have these in the meta-intel git repo, any meta-fri2 released BSP certainly does.

hth,

Tom

Quoted 7 lines
Quoted 5 lines

rday

--

==========================================================

=

Quoted 8 lines
Quoted 6 lines

=============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

==========================================================

=

Quoted 6 lines
Quoted 6 lines

=============
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto