On Wed, Sep 13, 2017 at 1:06 PM, Einar Vading <yocto...@vading.se> wrote: > Hi, > > I was just wondering if there is some best practice advice on how to > handle adding a single script from a recipe. > > If I have one or a few shell scripts with their own recipe. Do I make > a git and use the git from the recipe or do I just add the scripts to > a files directory and install from there? > > Are there any pros and cons to either? >
Generally, it depends. if OE is all you intend to support then you might choose to keep it with the metadata or a separate repo. Keeping in seprate repo makes a cleaner history as well as defines component ownership if that matters. If you drill down to automation or mechanics then there are no added benefits. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto