blob: c452cf95b27571c0a60610ea65683a996dd8dc2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DESCRIPTION = "Udev rules file to spawn getty in ttyUSB"
SECTION = "utils"
LICENSE = "GPL"
RDEPENDS_${PN} = "udev"
PR = "r2"
PACKAGES = "${PN}"
SRC_URI = "file://80-usbconsole.rules"
inherit autotools
# Skipping...
do_configure () {
}
# Skipping...
do_stage () {
}
# Skipping...
do_compile () {
}
do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${WORKDIR}/80-usbconsole.rules ${D}${sysconfdir}/udev/rules.d
}
pkg_postinst_${PN}() {
udevcontrol reload_rules || true
}
|