aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev-rules-buglabs/bug-udev_0.1.bb
blob: 35db9e383e1dabcccf963f1eb2216d8f932edf75 (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
DESCRIPTION = "UDEV Rules for BUG"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
RDEPENDS_${PN} = "udev"
PR = "r26"

SRC_URI = "file://00-bug20.rules \
           file://bmi_eventpipe.sh \
           file://bt_init.sh \
           file://working.psr \
           file://mbkb-stop.sh \
           file://mbkb-start.sh \
           file://wlan-trigger.sh \
           "

S = "${WORKDIR}"

PACKAGE_ARCH = "${MACHINE_ARCH}"

do_install() {
    install -d ${D}/etc/udev/rules.d
    install -d ${D}/etc/udev/scripts
    install -m 0644 *.rules ${D}/etc/udev/rules.d
    install -m 0775 *.sh ${D}/etc/udev/scripts
    install -m 0644 working.psr ${D}/etc/udev/scripts/
}