diff options
author | John Klug <john.klug@multitech.com> | 2021-07-28 11:38:08 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-07-28 11:38:08 -0500 |
commit | d2f5cd07020fa0b2d325fcdae62e3815bd97a81e (patch) | |
tree | d324bde28ff0c4eeec9912c575c631f2fb3e1fe0 /recipes-core/udev/eudev_%.bbappend | |
parent | e6cab10569eecb04097a6916683b5391e10b0f6f (diff) | |
download | meta-mlinux-d2f5cd07020fa0b2d325fcdae62e3815bd97a81e.tar.gz meta-mlinux-d2f5cd07020fa0b2d325fcdae62e3815bd97a81e.tar.bz2 meta-mlinux-d2f5cd07020fa0b2d325fcdae62e3815bd97a81e.zip |
udev recipes apply to most machines, not just Atmel
Diffstat (limited to 'recipes-core/udev/eudev_%.bbappend')
-rw-r--r-- | recipes-core/udev/eudev_%.bbappend | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend new file mode 100644 index 0000000..26bcceb --- /dev/null +++ b/recipes-core/udev/eudev_%.bbappend @@ -0,0 +1,14 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PR .= ".mlinux6" + +# add custom rules for persistent modem device names +SRC_URI += "file://cellular_radios.rules \ + file://${MACHINE}.rules" + +do_install_append() { + install -m 644 ${WORKDIR}/cellular_radios.rules ${D}${sysconfdir}/udev/rules.d/ + install -m 644 ${WORKDIR}/${MACHINE}.rules ${D}${sysconfdir}/udev/rules.d/ +} + + |