[yocto] Out-of-tree module errors installing its udev rule
Colin Helliwell
colin.helliwell at ln-systems.com
Mon Feb 13 08:14:05 PST 2017
> On 13 February 2017 at 16:03 "Burton, Ross" <ross.burton at intel.com> wrote:
>
> 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}.
>
Sigh...... "wood for the trees"...... thanks Ross.....! :S
> Also udev rules go into ${nonarch_base_libdir}.
>
Oh ok, hadn't encounter that var. What's the reasoning? (i.e. where would that be pointing in comparison to ${base_libdir}
> Ross
More information about the yocto
mailing list