[yocto] Out-of-tree module errors installing its udev rule

Burton, Ross ross.burton at intel.com
Mon Feb 13 08:03:08 PST 2017


On 13 February 2017 at 15:56, <colin.helliwell at ln-systems.com> wrote:

> inherit module
>
>>
>
>
> SRC_URI += " file://65-linmuxcfg-devnode.rules "
>
>
>
> S = "${WORKDIR}"
>
>
>
> FILES_{PN} += "${base_libdir}/udev/rules.d/65-linmuxcfg-devnode.rules"
>
>
>
> do_install_append(){
>
>     install -d ${D}${base_libdir}/udev/rules.d/
>
>     install -m 0644 ${WORKDIR}/65-linmuxcfg-devnode.rules
> ${D}${base_libdir}/udev/rules.d
>
> }
>
>
>
> Is this because it’s an out-of-tree module, or some other [obvious]
> mistake?
>
> Thanks
>
>
If that's a literal copy and paste then you forgot the $ in FILES_${PN}.

Also udev rules go into ${nonarch_base_libdir}.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170213/9dcbc8d5/attachment.html>


More information about the yocto mailing list