All of lore.kernel.org
 help / color / mirror / Atom feed
* unable to add a new file to base-files recipe via bbappend
@ 2012-02-17 14:40 Joshua Immanuel
  2012-02-17 14:45 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Immanuel @ 2012-02-17 14:40 UTC (permalink / raw)
  To: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unable to add a new file to base-files recipe via bbappend
  2012-02-17 14:40 unable to add a new file to base-files recipe via bbappend Joshua Immanuel
@ 2012-02-17 14:45 ` Martin Jansa
  2012-02-17 16:17   ` Joshua Immanuel
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2012-02-17 14:45 UTC (permalink / raw)
  To: Joshua Immanuel; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

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.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unable to add a new file to base-files recipe via bbappend
  2012-02-17 14:45 ` Martin Jansa
@ 2012-02-17 16:17   ` Joshua Immanuel
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Immanuel @ 2012-02-17 16:17 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-17 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 14:40 unable to add a new file to base-files recipe via bbappend Joshua Immanuel
2012-02-17 14:45 ` Martin Jansa
2012-02-17 16:17   ` Joshua Immanuel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.