Ok, thanks - mainly wanted to make sure I was following a best practice of sorts.
On Aug 13, 2013, at 5:39 PM, Khem Raj <[email protected]<mailto:[email protected]>> wrote: On Aug 13, 2013, at 5:15 PM, Brad Litterell <[email protected]<mailto:[email protected]>> 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<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 [email protected]<mailto:[email protected]> https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
