summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/uhmi-config-receiver.bb
blob: 94092b137b1439e5f767ff84847549b51dc59020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY     = "Setting files for UHMI receiver"
LICENSE     = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = " \
    file://wired-receiver.config \
    file://uhmi-ivi-wm.conf \
"

do_install() {
    if [ ! -e ${D}/var/lib/connman/wired.config ]; then
        install -d ${D}/var/lib/connman/
        install -m 6444 ${WORKDIR}/wired-receiver.config ${D}/var/lib/connman/wired.config
    fi

    install -d ${D}/etc/systemd/system/uhmi-ivi-wm.service.d/
    install -m 0644 ${WORKDIR}/uhmi-ivi-wm.conf ${D}/etc/systemd/system/uhmi-ivi-wm.service.d/
}

FILES:${PN} += " \
    /var/lib/connman/wired.config \
"