summaryrefslogtreecommitdiff
path: root/recipes-core/udev/udev-toradex-rules.bb
blob: dc6248ad73e3d96f6954133410077363478eda93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "\
    file://99-toradex.rules \
    file://10-toradex-wifi-ifnames.link \
"

do_install () {
    install -d ${D}${sysconfdir}/udev/rules.d
    install -d ${D}${sysconfdir}/systemd/network
    install -m 0644 ${WORKDIR}/99-toradex.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/10-toradex-wifi-ifnames.link ${D}${sysconfdir}/systemd/network/
}