diff options
Diffstat (limited to 'recipes-core/udev/eudev_%.bbappend')
-rw-r--r-- | recipes-core/udev/eudev_%.bbappend | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend index 26bcceb..364288e 100644 --- a/recipes-core/udev/eudev_%.bbappend +++ b/recipes-core/udev/eudev_%.bbappend @@ -1,14 +1,18 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +RDEPENDS_${PN} += "bash" -PR .= ".mlinux6" +PR .= ".mlinux7" # add custom rules for persistent modem device names SRC_URI += "file://cellular_radios.rules \ + file://cellular_radios.sh \ 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/ + install -m 644 ${WORKDIR}/cellular_radios.rules ${D}${sysconfdir}/udev/rules.d/ + install -m 644 ${WORKDIR}/${MACHINE}.rules ${D}${sysconfdir}/udev/rules.d/ + install -d ${D}${sysconfdir}/udev/scripts + install -m 755 ${WORKDIR}/cellular_radios.sh ${D}${sysconfdir}/udev/scripts/ } |