Skip to content

Commit dee284b

Browse files
committed
Update ChirpStack recipes.
1 parent b7f7c74 commit dee284b

File tree

4 files changed

+126
-0
lines changed

4 files changed

+126
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
DESCRIPTION = "ChirpStack Application Server"
2+
HOMEPAGE = "https://www.chirpstack.io/"
3+
PRIORITY = "optional"
4+
LICENSE = "MIT"
5+
LIC_FILES_CHKSUM = "file://LICENSE;md5=5301050fd7cd58850085239d559297be"
6+
SRC_URI = " \
7+
https://artifacts.chirpstack.io/downloads/chirpstack-application-server/chirpstack-application-server_${PV}_linux_armv5.tar.gz \
8+
file://chirpstack-application-server.init \
9+
file://chirpstack-application-server.monit \
10+
file://chirpstack-application-server.toml \
11+
"
12+
SRC_URI[md5sum] = "f393e45de52c639e38ebf672e4946c26"
13+
SRC_URI[sha256sum] = "0667ee4b3b65d307a08e24f29c5ca363c1fc6fe59fd5b1026427d78329b803d2"
14+
PR = "r1"
15+
16+
inherit update-rc.d
17+
18+
INITSCRIPT_NAME = "chirpstack-application-server"
19+
INITSCRIPT_PARAMS = "defaults"
20+
21+
S = "${WORKDIR}"
22+
23+
do_install() {
24+
install -d ${D}${bindir}
25+
install -m 0755 chirpstack-application-server ${D}${bindir}
26+
27+
install -d ${D}${sysconfdir}/chirpstack-application-server
28+
install -m 0640 ${WORKDIR}/chirpstack-application-server.toml ${D}${sysconfdir}/chirpstack-application-server/chirpstack-application-server.toml
29+
30+
install -d ${D}${sysconfdir}/init.d
31+
install -m 0755 ${WORKDIR}/chirpstack-application-server.init ${D}${sysconfdir}/init.d/chirpstack-application-server
32+
33+
install -d ${D}${sysconfdir}/monit.d
34+
install -m 0644 ${WORKDIR}/chirpstack-application-server.monit ${D}${sysconfdir}/monit.d/chirpstack-application-server
35+
}
36+
37+
CONFFILES_${PN} += "${sysconfdir}/chirpstack-application-server/chirpstack-application-server.toml"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
DESCRIPTION = "ChirpStack Gateway Bridge"
2+
HOMEPAGE = "https://www.chirpstack.io/"
3+
PRIORITY = "optional"
4+
LICENSE = "MIT"
5+
LIC_FILES_CHKSUM = "file://LICENSE;md5=99e425257f8a67b7efd81dc0009ed8ff"
6+
SRC_URI = "https://artifacts.chirpstack.io/downloads/chirpstack-gateway-bridge/chirpstack-gateway-bridge_${PV}_linux_armv5.tar.gz \
7+
file://chirpstack-gateway-bridge.toml \
8+
file://chirpstack-gateway-bridge.init \
9+
file://chirpstack-gateway-bridge.monit \
10+
"
11+
SRC_URI[md5sum] = "36b6a135a8df4f2350888cc7a4305adc"
12+
SRC_URI[sha256sum] = "82af2ba07e2d50e67ae20fbbf72ee52f5c484a44b7e2ba4f4544a49d5b2014f8"
13+
PR = "r1"
14+
15+
inherit update-rc.d
16+
17+
INITSCRIPT_NAME = "chirpstack-gateway-bridge"
18+
INITSCRIPT_PARAMS = "defaults"
19+
20+
S = "${WORKDIR}"
21+
22+
do_install() {
23+
install -d ${D}${bindir}
24+
install -m 0755 chirpstack-gateway-bridge ${D}${bindir}
25+
26+
install -d ${D}${sysconfdir}/chirpstack-gateway-bridge
27+
install -m 0640 ${WORKDIR}/chirpstack-gateway-bridge.toml ${D}${sysconfdir}/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
28+
29+
install -d ${D}${sysconfdir}/init.d
30+
install -m 0755 ${WORKDIR}/chirpstack-gateway-bridge.init ${D}${sysconfdir}/init.d/chirpstack-gateway-bridge
31+
32+
install -d ${D}${sysconfdir}/monit.d
33+
install -m 0644 ${WORKDIR}/chirpstack-gateway-bridge.monit ${D}${sysconfdir}/monit.d/chirpstack-gateway-bridge
34+
}
35+
36+
CONFFILES_${PN} += "${sysconfdir}/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
DESCRIPTION = "ChirpStack Network Server"
2+
HOMEPAGE = "https://www.chirpstack.io/"
3+
PRIORITY = "optional"
4+
LICENSE = "MIT"
5+
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3a340e43ab9867d3e5d0ea79a54b0e1"
6+
SRC_URI = " \
7+
https://artifacts.chirpstack.io/downloads/chirpstack-network-server/chirpstack-network-server_${PV}_linux_armv5.tar.gz \
8+
file://chirpstack-network-server.init \
9+
file://chirpstack-network-server.monit \
10+
file://config/au915_0.toml \
11+
file://config/au915_1.toml \
12+
file://config/au915_2.toml \
13+
file://config/au915_3.toml \
14+
file://config/au915_4.toml \
15+
file://config/au915_5.toml \
16+
file://config/au915_6.toml \
17+
file://config/au915_7.toml \
18+
file://config/eu868.toml \
19+
file://config/us915_0.toml \
20+
file://config/us915_1.toml \
21+
file://config/us915_2.toml \
22+
file://config/us915_3.toml \
23+
file://config/us915_4.toml \
24+
file://config/us915_5.toml \
25+
file://config/us915_6.toml \
26+
file://config/us915_7.toml \
27+
"
28+
SRC_URI[md5sum] = "e355d22f9c88c69f8d190d7d700e2f23"
29+
SRC_URI[sha256sum] = "9dd4009fc36f124abafd27f40f233b90a42d6bdc00e3c88d4eeb45bf984ffcaf"
30+
PR = "r1"
31+
32+
inherit update-rc.d
33+
34+
INITSCRIPT_NAME = "chirpstack-network-server"
35+
INITSCRIPT_PARAMS = "defaults"
36+
37+
S = "${WORKDIR}"
38+
39+
do_install() {
40+
install -d ${D}${bindir}
41+
install -m 0755 chirpstack-network-server ${D}${bindir}
42+
43+
install -d ${D}${sysconfdir}/chirpstack-network-server/config
44+
install -m 0640 ${WORKDIR}/config/* ${D}${sysconfdir}/chirpstack-network-server/config
45+
46+
install -d ${D}${sysconfdir}/init.d
47+
install -m 0755 ${WORKDIR}/chirpstack-network-server.init ${D}${sysconfdir}/init.d/chirpstack-network-server
48+
49+
install -d ${D}${sysconfdir}/monit.d
50+
install -m 0644 ${WORKDIR}/chirpstack-network-server.monit ${D}${sysconfdir}/monit.d/chirpstack-network-server
51+
}

meta/recipes-swupdate/swupdate/swupdate_%.bbappend

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
22

3+
DEPENDS += " openssl"
4+
35
SRC_URI_append = "\
46
file://01-commit-upgrade \
57
"

0 commit comments

Comments
 (0)