diff options
author | Jason Reiss <jreiss@multitech.com> | 2018-05-21 10:43:55 -0500 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2018-05-21 10:43:55 -0500 |
commit | 2d19c4d653ec6b52df7ef15771edec5374eaf32e (patch) | |
tree | 70acde29949b48c951e790381c9eae356e187990 /recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb | |
parent | 8959ea2dd7f1c4f75ee90a198610839b854a2e07 (diff) | |
download | meta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.tar.gz meta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.tar.bz2 meta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.zip |
lora: add packet forwarder logging and rotation configuration
Diffstat (limited to 'recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb')
-rw-r--r-- | recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb b/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb index 6ec2ff1..23709e0 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb +++ b/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb @@ -5,7 +5,7 @@ SECTION = "console/utils" # Semtech license is a modified BSD-style license LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://LICENSE;md5=22af7693d7b76ef0fc76161c4be76c45" -DEPENDS = "lora-gateway" +DEPENDS = "lora-gateway logrotate" RDEPENDS_${PN} += "bash" PR = "r12" @@ -15,6 +15,7 @@ SRC_URI = "git://github.com/Lora-net/packet_forwarder.git;protocol=git \ file://README.md \ file://lora-packet-forwarder.init \ file://lora-packet-forwarder.default \ + file://lora-packet-forwarder.logrotate.conf \ file://global_conf.json.3.0.0.PCB_E336.EU868.basic.clksrc0 \ file://global_conf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 \ file://global_conf.json.3.0.0.MTAC_LORA_1_0.US915.basic.clksrc0 \ @@ -67,6 +68,8 @@ do_install() { install -m 0644 ${WORKDIR}/lora-packet-forwarder.default ${D}${sysconfdir}/default/lora-packet-forwarder install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/lora-packet-forwarder.init ${D}${sysconfdir}/init.d/lora-packet-forwarder + install -d ${D}${sysconfdir}/logrotate.d + install -m 0644 ${WORKDIR}/lora-packet-forwarder.logrotate.conf ${D}${sysconfdir}/logrotate.d/lora-packet-forwarder.conf } do_install_append_mtcdt() { |