X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-connectivity%2Fcluster-connman-conf%2Fcluster-connman-conf_1.0.bb;fp=recipes-connectivity%2Fcluster-connman-conf%2Fcluster-connman-conf_1.0.bb;h=78528aa7fcbe02f15e2c7e92c2f8bba6f320b414;hb=251fb524e791d40cb7a7e1581649e63da9da3b08;hp=0000000000000000000000000000000000000000;hpb=7ea4459ecd58198e4932db3f41fadecf0024325c;p=AGL%2Fmeta-agl-cluster-demo.git diff --git a/recipes-connectivity/cluster-connman-conf/cluster-connman-conf_1.0.bb b/recipes-connectivity/cluster-connman-conf/cluster-connman-conf_1.0.bb new file mode 100644 index 0000000..78528aa --- /dev/null +++ b/recipes-connectivity/cluster-connman-conf/cluster-connman-conf_1.0.bb @@ -0,0 +1,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}/*"