diff options
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/ +} + + |