diff options
Diffstat (limited to 'recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb')
-rw-r--r-- | recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb b/recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb index 3ec9b05..dbf7094 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb +++ b/recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb @@ -4,13 +4,14 @@ SECTION = "console/utils" # Semtech license is a modified BSD-style license LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://mlinux4/LICENSE.TXT;md5=86776875df1423114abfcec938f3e565" -DEPENDS ?= "lora-gateway-geolocation" +DEPENDS ?= "lora-gateway-geolocation logrotate" RDEPENDS_${PN} += "bash" PR = "r2" SRCREV = "v${PV}" SRC_URI = "http://multitech.net/downloads/lora-packet-forwarder-geolocation_arm926ejste_${PV}.tar.gz \ + file://lora-packet-forwarder-geolocation.logrotate.conf \ file://global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868 \ file://global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920 \ file://global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868 \ @@ -44,6 +45,9 @@ do_install() { install -m 755 ${WORKDIR}/global_conf.json.MTAC_LORA_2_1* ${D}${LORA_DIR}/ install -d ${D}${LORA_DIR}/forwarder-utils-geo install -m 755 mlinux4/forwarder-utils-geo/* ${D}${LORA_DIR}/forwarder-utils-geo/ + + install -d ${D}${sysconfdir}/logrotate.d + install -m 0644 ${WORKDIR}/lora-packet-forwarder-geolocation.logrotate.conf ${D}${sysconfdir}/logrotate.d/lora-packet-forwarder-geolocation.conf } |