diff options
author | Jeff Hatch <jhatch@multitech.com> | 2017-02-13 14:34:48 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-05-23 15:21:54 -0500 |
commit | 14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0 (patch) | |
tree | 029329eb712b12647f786a1562ac33991d2647dc /recipes-core/udev/eudev_3.1.5.bbappend | |
parent | 6fbfbe0cb5df5546beda2b88a19a398ea0ebdbc8 (diff) | |
download | meta-mlinux-atmel-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.tar.gz meta-mlinux-atmel-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.tar.bz2 meta-mlinux-atmel-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.zip |
Initial commit of Yocto 2.1 changes
Diffstat (limited to 'recipes-core/udev/eudev_3.1.5.bbappend')
-rw-r--r-- | recipes-core/udev/eudev_3.1.5.bbappend | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-core/udev/eudev_3.1.5.bbappend b/recipes-core/udev/eudev_3.1.5.bbappend new file mode 100644 index 0000000..e793d1d --- /dev/null +++ b/recipes-core/udev/eudev_3.1.5.bbappend @@ -0,0 +1,20 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" + +PR .= ".mlinux2" + +# add custom rules for persistent modem device names +SRC_URI += " file://cellular_radios.rules \ + file://${MACHINE}.rules \ + " + +SRC_URI_append_mtcdt = " file://accessory_ethernet.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/ +} + +do_install_append_mtcdt() { + install -m 644 ${WORKDIR}/accessory_ethernet.rules ${D}${sysconfdir}/udev/rules.d/ +} |