[yocto] How to customize a file coming from another recipe?

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Sep 12 04:53:49 PDT 2013


On Thu, Sep 12, 2013 at 12:16 PM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> > Is the best course to create a recipe bbappend for the
> lighttpd_1.4.31.bb
> > file that is being used?  And can I just include a new file with the same
> > name in my append and will it overwrite the old one, or do I need to
> create
> > an actual patch file?
>
> So, since this config file is provided along with the original recipe, and
> is
> already mentioned in SRC_URI and installed within do_install, you only
> need to
> extend FILESEXTRAPATHS in your bbappend so that the system can pick up your
> version of the file. Outright replacing the file is the easiest way here
> rather
> than trying to patch it.
>
> So in your bbappend you would have:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"


how about if the lighttpd.conf file needs to be fetched (git or svn)
instead added in the same repo as the recipe?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130912/869caef9/attachment.html>


More information about the yocto mailing list