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

SRC_URI_bug20 = "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 \
                "

SRC_URI_bug = " file://30-BUG.rules \
                file://10-mx31.rules \
                file://bmi_eventpipe.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
}

do_install_append_bug20() {
    install -m 0644 working.psr ${D}/etc/udev/scripts/
}