On Aug 13, 2013, at 5:15 PM, Brad Litterell <br...@taser.com> wrote:
> I have some scripts I'd like to copy to the target to a simple folder, e.g. > /lib/foo > > Ideally I'd like to just create a simple recipe something like this: > > SRC_URI = "file://lib/foo/foo.sh" > inherit install_only > > Is there a class like this? > > It seems like most recipes of this form accomplish this by a custom > do_install step, such as this: > > do_install() { > install -D -m 755 ${S}/lib/foo/foo.sh ${D}/lib/foo > } > > and I was just hoping there might be a base class for examining the input > files and generating the install steps? > there isn't one. Its not as common a case to abstract out into a class additionally when you have such recipes then the install paths aren't standard either so adding do_install to recipe and doing it there is OK > Thanks, > Brad > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto