summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-12-20 08:47:27 -0600
committerJason Reiss <jreiss@multitech.com>2016-12-20 08:47:27 -0600
commitc4c440ac53c69df3d7f75dcadc040cea89ff340c (patch)
tree6acd55f7eab1c848dffd052f82df94f62fff4d47
parent97fe7114ff532b2017dd2abc5cba620c216ff8f3 (diff)
downloadmeta-mlinux-c4c440ac53c69df3d7f75dcadc040cea89ff340c.tar.gz
meta-mlinux-c4c440ac53c69df3d7f75dcadc040cea89ff340c.tar.bz2
meta-mlinux-c4c440ac53c69df3d7f75dcadc040cea89ff340c.zip
lora: move packet forwarder init and default scripts into machine specific folders
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.default (renamed from recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default)0
-rwxr-xr-xrecipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.init (renamed from recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init)0
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.default (renamed from recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default.mtcdt)0
-rwxr-xr-xrecipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.init (renamed from recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init.mtcdt)0
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb9
5 files changed, 4 insertions, 5 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default b/recipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.default
index be7dcd5..be7dcd5 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default
+++ b/recipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.default
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init b/recipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.init
index 9ffaf6d..9ffaf6d 100755
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
+++ b/recipes-connectivity/lora/lora-packet-forwarder/mtcap/lora-packet-forwarder.init
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default.mtcdt b/recipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.default
index 0f92640..0f92640 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.default.mtcdt
+++ b/recipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.default
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init.mtcdt b/recipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.init
index 510f171..510f171 100755
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init.mtcdt
+++ b/recipes-connectivity/lora/lora-packet-forwarder/mtcdt/lora-packet-forwarder.init
diff --git a/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb b/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb
index d3c3e15..ada0493 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb
+++ b/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb
@@ -6,16 +6,14 @@ SECTION = "console/utils"
LICENSE = "SEMTECH"
LIC_FILES_CHKSUM = "file://LICENSE;md5=22af7693d7b76ef0fc76161c4be76c45"
DEPENDS = "lora-gateway"
-PR = "r8"
+PR = "r9"
SRCREV = "v${PV}"
SRC_URI = "git://github.com/Lora-net/packet_forwarder.git;protocol=git \
file://README.md \
file://lora-packet-forwarder.init \
- file://lora-packet-forwarder.init.mtcdt \
file://lora-packet-forwarder.default \
- file://lora-packet-forwarder.default.mtcdt \
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_5.EU868.basic.clksrc0 \
@@ -25,6 +23,7 @@ SRC_URI = "git://github.com/Lora-net/packet_forwarder.git;protocol=git \
file://lora-packet-forwarder-remove-jit-power-check.patch \
"
+
S = "${WORKDIR}/git"
LORA_DIR = "/opt/lora"
@@ -56,9 +55,9 @@ do_install_append_mtcdt() {
install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5
install -d ${D}${sysconfdir}/default
- install -m 0644 ${WORKDIR}/lora-packet-forwarder.default.mtcdt ${D}${sysconfdir}/default/lora-packet-forwarder
+ 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.mtcdt ${D}${sysconfdir}/init.d/lora-packet-forwarder
+ install -m 0755 ${WORKDIR}/lora-packet-forwarder.init ${D}${sysconfdir}/init.d/lora-packet-forwarder
}
do_install_append_mtcap() {