summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/cluster-connman-conf/cluster-connman-conf_1.0.bb
blob: a6610b75fc2a03b4b1260d87c26fd17ed2fd03c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SUMMARY = "Cluster demo connman configuration"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI = "file://cluster.config"

CLUSTER_DEMO_SERVER_IP ?= "192.168.20.99"

do_install() {
    install -d ${D}${localstatedir}/lib/connman
    sed "s/@CLUSTER_DEMO_SERVER_IP@/${CLUSTER_DEMO_SERVER_IP}/g" \
        ${WORKDIR}/cluster.config > ${D}${localstatedir}/lib/connman/cluster.config
}

FILES:${PN} += "${localstatedir}/*"