Skip to contentSkip to conversation

i may take a crack at writing a section on FILESOVERRIDES

DISCUSSION Robert P. J. Day 2 participants 4 messages Oct 30, 2025

lore
Share & tools
lore
#0 lore raw

related to my earlier whining about how much documentation was being
(IMHO, inappropriately) dumped into the reference manual, i'm looking at the section on fetching:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#fetching-code

and how there is that lonely sentence referencing FILESOVERRIDES:

"The OpenEmbedded build system uses FILESOVERRIDES for scanning directory locations for local files in SRC_URI."

i think that feature merits a comprehensive sub-section under
fetching (pulling out most of what is in the reference manual).

also, as much as possible, i think the docs should refer to actual
examples ripped from oe-core -- for this feature, i would bolster the explanation with the perfect example of using FILESOVERRIDES:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/formfactor

not going to do all that right this instant, but i'm convinced it's
worth doing.

rday

#1 lore raw
Quoted 15 lines · Robert P. J. Day via lists.yoctoproject.org

related to my earlier whining about how much documentation was being
(IMHO, inappropriately) dumped into the reference manual, i'm looking at the section on fetching:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#fetching-code

and how there is that lonely sentence referencing FILESOVERRIDES:

"The OpenEmbedded build system uses FILESOVERRIDES for scanning directory locations for local files in SRC_URI."

i think that feature merits a comprehensive sub-section under
fetching (pulling out most of what is in the reference manual).

Quoted 9 lines

also, as much as possible, i think the docs should refer to actual
examples ripped from oe-core -- for this feature, i would bolster the explanation with the perfect example of using FILESOVERRIDES:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/formfactor

not going to do all that right this instant, but i'm convinced it's
worth doing.

Note that there is some surprising behavior when using the layout allowed by FILESOVERRIDES and bbappends and I think it really is important to document that.

https://pretalx.com/media/yocto-project-summit-2022-05/submissions/SCYYWD/resources/Demystifying_the_OVERRIDES_mec_2lZOP3n.pdf slides 102 and 103

Cheers,
Quentin

#2 lore raw
Quoted 28 lines · Quentin Schulz
Quoted 15 lines · Robert P. J. Day via lists.yoctoproject.org

related to my earlier whining about how much documentation was being
(IMHO, inappropriately) dumped into the reference manual, i'm looking at the section on fetching:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#fetching-code

and how there is that lonely sentence referencing FILESOVERRIDES:

"The OpenEmbedded build system uses FILESOVERRIDES for scanning directory locations for local files in SRC_URI."

i think that feature merits a comprehensive sub-section under
fetching (pulling out most of what is in the reference manual).

Quoted 9 lines

also, as much as possible, i think the docs should refer to actual
examples ripped from oe-core -- for this feature, i would bolster the explanation with the perfect example of using FILESOVERRIDES:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/formfactor

not going to do all that right this instant, but i'm convinced it's
worth doing.

Quoted 6 lines

Note that there is some surprising behavior when using the layout allowed by FILESOVERRIDES and bbappends and I think it really is important to document that.

https://pretalx.com/media/yocto-project-summit-2022-05/submissions/SCYYWD/resources/Demystifying_the_OVERRIDES_mec_2lZOP3n.pdf
slides 102 and 103

that's why i think there are quite a few places where something that
is explained in only a couple of paragraphs needs to be broken out and turned into a full sub-section. that's not something that can be dashed off, it needs someone to sit back and think about how to do that while keeping the flow.

rday

#3 lore raw
In reply to Quentin Schulz
Quoted 28 lines · Quentin Schulz
Quoted 15 lines · Robert P. J. Day via lists.yoctoproject.org

related to my earlier whining about how much documentation was being
(IMHO, inappropriately) dumped into the reference manual, i'm looking at the section on fetching:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#fetching-code

and how there is that lonely sentence referencing FILESOVERRIDES:

"The OpenEmbedded build system uses FILESOVERRIDES for scanning directory locations for local files in SRC_URI."

i think that feature merits a comprehensive sub-section under
fetching (pulling out most of what is in the reference manual).

Quoted 9 lines

also, as much as possible, i think the docs should refer to actual
examples ripped from oe-core -- for this feature, i would bolster the explanation with the perfect example of using FILESOVERRIDES:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/formfactor

not going to do all that right this instant, but i'm convinced it's
worth doing.

Quoted 6 lines

Note that there is some surprising behavior when using the layout allowed by FILESOVERRIDES and bbappends and I think it really is important to document that.

https://pretalx.com/media/yocto-project-summit-2022-05/submissions/SCYYWD/resources/Demystifying_the_OVERRIDES_mec_2lZOP3n.pdf
slides 102 and 103

https://bugzilla.yoctoproject.org/show_bug.cgi?id=16048

not sure how many other fields i should have filled in.

rday