diff options
author | Jeff Hatch <Jeff.Hatch@multitech.com> | 2016-11-29 10:18:46 -0600 |
---|---|---|
committer | Jeff Hatch <Jeff.Hatch@multitech.com> | 2016-11-29 10:18:46 -0600 |
commit | fd8e0a15f32252f38ba36645535b54c33b3bdb18 (patch) | |
tree | 2fcebd77a1eb80ef05a91f7044bc5329e1537333 /recipes-core/udev/udev_182.bbappend | |
parent | cc493ab08f771ec4b82087c91c76f65be2b384d8 (diff) | |
download | meta-mlinux-fd8e0a15f32252f38ba36645535b54c33b3bdb18.tar.gz meta-mlinux-fd8e0a15f32252f38ba36645535b54c33b3bdb18.tar.bz2 meta-mlinux-fd8e0a15f32252f38ba36645535b54c33b3bdb18.zip |
Add udev Ethernet AC card interface naming rules
Diffstat (limited to 'recipes-core/udev/udev_182.bbappend')
-rw-r--r-- | recipes-core/udev/udev_182.bbappend | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-core/udev/udev_182.bbappend b/recipes-core/udev/udev_182.bbappend index 39a5ae1..f5548c1 100644 --- a/recipes-core/udev/udev_182.bbappend +++ b/recipes-core/udev/udev_182.bbappend @@ -4,10 +4,17 @@ PR .= ".mlinux1" # add custom rules for persistent modem device names SRC_URI += " file://cellular_radios.rules \ - file://${MACHINE}.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/ +} |