Support duo4k.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-core / udev / udev_182.bbappend
1 PR .= "-vuplus9"
2
3 SRC_URI += " \
4         file://99_vuplus.rules \
5         file://automount.py \
6         file://autoumount.py \
7         file://udev_scan_sys_block.patch \
8 "
9
10 do_install_append () {
11         rm ${D}${sysconfdir}/udev/rules.d/*.rules || /bin/true
12         install -m 0755 ${WORKDIR}/99_vuplus.rules ${D}${sysconfdir}/udev/rules.d
13         install -m 0755 ${WORKDIR}/automount.py ${D}${sysconfdir}/udev
14         install -m 0755 ${WORKDIR}/autoumount.py ${D}${sysconfdir}/udev
15         sed -i s@udev_run=\"\/var\/run\/udev\"@\#udev_run=\"\/var\/run\/udev\"@ -i ${D}${sysconfdir}/udev/udev.conf
16 }
17
18 FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"