Commit d42607f0 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

create static udev nodes

parent df7b16de
...@@ -31,11 +31,12 @@ RDEPENDS_${PN} = "udev" ...@@ -31,11 +31,12 @@ RDEPENDS_${PN} = "udev"
PACKAGES = "udev-rules" PACKAGES = "udev-rules"
UDEV_RULES_DIR = "${sysconfdir}/udev/rules.d" UDEV_RULES_DIR = "${sysconfdir}/udev/rules.d"
FILES_${PN} += "${UDEV_RULES_DIR}/90-elphel-automount.rules" FILES_${PN} += " ${UDEV_RULES_DIR}/90-elphel-automount.rules /lib/udev/devices "
do_install() { do_install() {
install -d ${D}${UDEV_RULES_DIR} install -d ${D}${UDEV_RULES_DIR}
install -m 644 ${WORKDIR}/90-elphel-automount.rules ${D}${UDEV_RULES_DIR} install -m 644 ${WORKDIR}/90-elphel-automount.rules ${D}${UDEV_RULES_DIR}
#${WORKDIR}/static.sh install -d ${D}${nonarch_base_libdir}/udev/devices
${WORKDIR}/static.sh ${D}${nonarch_base_libdir}/udev/devices
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment