aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-conf-gw-control-panel.bb
blob: 4afcfaf101b12300f2948f41a53cfc517b3b575e (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
SUMMARY = "KUKSA.val DBC feeder configuration for gateway demo"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

SRC_URI = "file://kuksa-dbc-feeder.gw-control-panel"

S = "${WORKDIR}"

inherit update-alternatives

do_compile[noexec] = "1"

do_install() {
    install -d ${D}${sysconfdir}/default
    install -m 0644 ${WORKDIR}/kuksa-dbc-feeder.gw-control-panel ${D}${sysconfdir}/default/
}

ALTERNATIVE_LINK_NAME[kuksa-dbc-feeder.env] = "${sysconfdir}/default/kuksa-dbc-feeder"

RPROVIDES:${PN} = "kuksa-dbc-feeder.env"
ALTERNATIVE:${PN} = "kuksa-dbc-feeder.env"
ALTERNATIVE_TARGET_${PN} = "${sysconfdir}/default/kuksa-dbc-feeder.gw-control-panel"

RDEPENDS:${PN} += "kuksa-dbc-feeder"