[yocto] Is there a recipe class that simply installs files to the target?
Brad Litterell
bradl at taser.com
Tue Aug 13 17:41:05 PDT 2013
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 <raj.khem at gmail.com<mailto:raj.khem at gmail.com>> wrote:
On Aug 13, 2013, at 5:15 PM, Brad Litterell <bradl at taser.com<mailto:bradl at 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<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 at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130814/c420757b/attachment.html>
More information about the yocto
mailing list