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