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

2012-02-17 Thread 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

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.

Please guide me.

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


signature.asc
Description: This is a digitally signed message part
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2012-02-17 Thread Martin Jansa
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@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto


-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2012-02-17 Thread Joshua Immanuel
Hello Martin,

On Fri, 2012-02-17 at 15:45 +0100, Martin Jansa wrote:
 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.

 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
-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in


signature.asc
Description: This is a digitally signed message part
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto