Skip to contentSkip to conversation

unable to add a new file to base-files recipe via bbappend

DISCUSSION Joshua Immanuel 2 participants 3 messages Feb 17, 2012

lore
Share & tools
lore
#0 lore raw

Hello all,
I added a base-files_3.0.14.bbappend file in my custom layer and
pointed the SRC_URI as follows

        SRC_URI += "file://xorg.conf"

The xorg.conf file is at "base-files/files/xorg.conf" on my custom layer. But, the bitbake fails to find the file.

Quoted 2 lines

| ERROR: Function 'Fetcher failure for URL: 'file://xorg.conf'. Unable to fetch URL file://xorg.conf from any source.' failed

I guess, the method that I am following here to add a new source file via the bbappend is wrong.

Please guide me.

Regards
Joshua

Signature · 3 lines
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
#1 lore raw
Quoted 6 lines · Joshua Immanuel

Hello all,
I added a base-files_3.0.14.bbappend file in my custom layer and
pointed the SRC_URI as follows

        SRC_URI += "file://xorg.conf"
Quoted 8 lines

The xorg.conf file is at "base-files/files/xorg.conf" on my custom layer. But, the bitbake fails to find the file.

Quoted 2 lines

| ERROR: Function 'Fetcher failure for URL: 'file://xorg.conf'. Unable to fetch URL file://xorg.conf from any source.' failed

I guess, the method that I am following here to add a new source file via the bbappend is wrong.

You need to set something like FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
for fetcher to look in ${PN} subdirectory of directory where you have .bbappend

And you're bbappending wrong recipe, xorg.conf belongs to meta/recipes-graphics/xorg-xserver/xserver-xf86-config/

Cheers,

Quoted 16 lines

Please guide me.

Regards
Joshua

Signature · 10 lines
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in



_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Hello Martin,

Quoted 4 lines · Martin Jansa

You need to set something like FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
for fetcher to look in ${PN} subdirectory of directory where you have .bbappend

Thanks for the info.

Quoted 2 lines

And you're bbappending wrong recipe, xorg.conf belongs to meta/recipes-graphics/xorg-xserver/xserver-xf86-config/

Oops. Will bbappend to the above mentioned recipe.

Regards
Joshua

Signature · 3 lines
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in