On Thursday 12 September 2013 13:53:49 Nicolas Dechesne wrote: > On Thu, Sep 12, 2013 at 12:16 PM, Paul Eggleton < > paul.eggle...@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?
If fetching from git/svn then you'd just add an entry to SRC_URI, and the file would be fetched into a subdirectory; you'd then just have a do_install() / do_install_append() to install the version of the file from within that subdirectory. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto