[yocto] Weird FILESPATH issue

Gary Thomas gary at mlbassoc.com
Fri Apr 5 05:53:07 PDT 2013


I'm trying to write a patch for this recipe:
   meta/recipes-devtools/python/python-pygobject_2.27.91.bb

I tried with a .bbappend that looks like this:
   FILESEXTRAPATHS_append = ":${THISDIR}/${PN}-${PV}:${THISDIR}/${PN}"
   SRC_URI_append = " file://fix-registration-warnings.patch "

Also like this:
   FILESPATH_append = ":${THISDIR}/${BPN}-${PV}"
   SRC_URI_append = " file://fix-registration-warnings.patch "
to which I get this error:
   ERROR: Fetcher failure: Unable to find file file://fix-registration-warnings.patch anywhere. The paths that were searched were:
     /home/local/poky-multi/meta/recipes-devtools/python/python-pygobject
     /home/local/poky-multi/meta/recipes-devtools/python/files
     /home/local/poky-multi/meta/recipes-devtools/python/python-pygobject-2.27.91
     /home/local/p82_soft/downloads

I think the problem is because the main recipe contains this line:
   FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"

How can I write my .bbappend file to pick up the patch from my [local] layer?

Thanks

n.b. isn't that 'FILESPATH' line in the main recipe rather unfriendly?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list