Skip to contentSkip to conversation

examples of erroneous use of FILESEXTRAPATHS:append in various layers

DISCUSSION Robert P. J. Day 2 participants 3 messages Oct 26, 2025 – Oct 27, 2025

lore
Share & tools
lore
#0 lore raw

i ran across a single example of this, so i ran a simple search to
find other examples in the layers i have checked out -- looking for examples of "FILESEXTRAPATHS:append" operator where the colon is on the wrong end of the string (appropriate for prepending):

$ grep -r 'FILESEXTRAPATHS:append := "\$' *
meta-arm/meta-arm-bsp/dynamic-layers/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-ir-acs-fvp-base.inc:FILESEXTRAPATHS:append
:= "${THISDIR}/files/${MACHINE}:"
meta-freescale/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc:FILESEXTRAPATHS:append
:= "${THISDIR}/imx-gpu-viv:"
meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_1.5.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}:"
meta-virtualization/recipes-networking/openvswitch/openvswitch_git.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}-git:"
polarfire-soc/meta-polarfire-soc-yocto-bsp/meta-polarfire-soc-bsp/recipes-extended/pam/libpam_%.bbappend:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}:"
stm/meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_1.5.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}:"
stm/meta-swupdate-boards/recipes-support/swupdate/swupdate_%.bbappend:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}:"
stm/meta-st-stm32mp/recipes-kernel/perf/perf.bbappend:FILESEXTRAPATHS:append
:= "${THISDIR}/files:"
xilinx/meta-virtualization/recipes-networking/openvswitch/openvswitch_git.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}-git:"

people are invited to do with this what you will.

rday

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

i ran across a single example of this, so i ran a simple search to
find other examples in the layers i have checked out -- looking for examples of "FILESEXTRAPATHS:append" operator where the colon is on the wrong end of the string (appropriate for prepending):

$ grep -r 'FILESEXTRAPATHS:append := "\$' *
meta-arm/meta-arm-bsp/dynamic-layers/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-ir-acs-fvp-base.inc:FILESEXTRAPATHS:append
:= "${THISDIR}/files/${MACHINE}:"

Fix posted for meta-arm, thanks.

Ross

#2 lore raw
Quoted 8 lines · Ross Burton
Quoted 7 lines · Robert P. J. Day via lists.yoctoproject.org

i ran across a single example of this, so i ran a simple search to
find other examples in the layers i have checked out -- looking for examples of "FILESEXTRAPATHS:append" operator where the colon is on the wrong end of the string (appropriate for prepending):

Quoted 5 lines
Quoted 3 lines
$ grep -r 'FILESEXTRAPATHS:append := "\$' *
meta-arm/meta-arm-bsp/dynamic-layers/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-ir-acs-fvp-base.inc:FILESEXTRAPATHS:append
:= "${THISDIR}/files/${MACHINE}:"

Fix posted for meta-arm, thanks.

no problem. reminder that here are the other fundamental layer
examples of the same issue:

$ grep -r 'FILESEXTRAPATHS:append := "\$' *
meta-freescale/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc:FILESEXTRAPATHS:append
:= "${THISDIR}/imx-gpu-viv:"
meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_1.5.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}:"
meta-virtualization/recipes-networking/openvswitch/openvswitch_git.bb:FILESEXTRAPATHS:append
:= "${THISDIR}/${PN}-git:"

rday