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

Martin Jansa martin.jansa at gmail.com
Fri Feb 17 06:45:48 PST 2012


On Fri, Feb 17, 2012 at 08:10:48PM +0530, Joshua Immanuel wrote:
> 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.
> 
> > | 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,

> 
> Please guide me.
> 
> Regards
> Joshua
> -- 
> Joshua Immanuel
> HiPro IT Solutions Private Limited
> http://hipro.co.in



> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120217/77893edf/attachment.pgp>


More information about the yocto mailing list