diff options
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb')
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb index 83baffdc05..8ff06285f9 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb | |||
| @@ -41,22 +41,7 @@ RDEPENDS:${PN} += " python3-jsonpath-rw \ | |||
| 41 | python3-pysocks \ | 41 | python3-pysocks \ |
| 42 | " | 42 | " |
| 43 | 43 | ||
| 44 | SRC_URI += "file://bacnet.json \ | 44 | SRC_URI += "file://thingsboard-gateway.service" |
| 45 | file://ble.json \ | ||
| 46 | file://can.json \ | ||
| 47 | file://custom_serial.json \ | ||
| 48 | file://modbus.json \ | ||
| 49 | file://modbus_serial.json \ | ||
| 50 | file://mqtt.json \ | ||
| 51 | file://opcua.json \ | ||
| 52 | file://odbc.json \ | ||
| 53 | file://request.json \ | ||
| 54 | file://rest.json \ | ||
| 55 | file://snmp.json \ | ||
| 56 | file://tb_gateway.yaml \ | ||
| 57 | file://logs.conf \ | ||
| 58 | file://thingsboard-gateway.service \ | ||
| 59 | " | ||
| 60 | 45 | ||
| 61 | 46 | ||
| 62 | inherit systemd | 47 | inherit systemd |
| @@ -70,15 +55,8 @@ FILES:${PN} += "/etc \ | |||
| 70 | " | 55 | " |
| 71 | 56 | ||
| 72 | do_install:append(){ | 57 | do_install:append(){ |
| 73 | 58 | install -d ${D}${sysconfdir}/${BPN}/config | |
| 74 | install -d ${D}${sysconfdir}/thingsboard-gateway/config | 59 | install -m 0644 ${S}/thingsboard_gateway/config/*.json ${D}${sysconfdir}/${BPN}/config |
| 75 | |||
| 76 | for file in $(find ${UNPACKDIR} -maxdepth 1 -type f -name *.json); do | ||
| 77 | install -m 0644 "$file" ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 78 | done | ||
| 79 | |||
| 80 | install -m 0644 ${UNPACKDIR}/tb_gateway.yaml ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 81 | install -m 0644 ${UNPACKDIR}/logs.conf ${D}${sysconfdir}/thingsboard-gateway/config | ||
| 82 | 60 | ||
| 83 | install -d ${D}${systemd_unitdir}/system/ | 61 | install -d ${D}${systemd_unitdir}/system/ |
| 84 | install -m 0644 ${UNPACKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service | 62 | install -m 0644 ${UNPACKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service |
