diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-10-14 09:28:39 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-10-14 09:28:39 -0500 |
commit | 6c417ea958b809e26c2287a8707597b48f003aae (patch) | |
tree | 8ffa2a733e4349c585a8c6fbeb48ea6667092d1c /recipes-connectivity | |
parent | 39bffa9d7f535acfafacd8a39f34a586692a1553 (diff) | |
download | meta-mlinux-6c417ea958b809e26c2287a8707597b48f003aae.tar.gz meta-mlinux-6c417ea958b809e26c2287a8707597b48f003aae.tar.bz2 meta-mlinux-6c417ea958b809e26c2287a8707597b48f003aae.zip |
fix: only install lora-packet-forwarder init script on mtp
Diffstat (limited to 'recipes-connectivity')
-rw-r--r-- | recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb | 13 |
1 files changed, 6 insertions, 7 deletions
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 4c23e1c..fda1535 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb +++ b/recipes-connectivity/lora/lora-packet-forwarder_3.0.0.bb @@ -35,15 +35,9 @@ do_compile() { do_install() { install -d ${D}${LORA_DIR} install -m 755 lora_pkt_fwd/lora_pkt_fwd ${D}${LORA_DIR}/ -# This file may be overwritten with a do_install_append_<MACHINE> function - install -m 755 ${WORKDIR}/global_conf.json.3.0.0.PCB_E286.EU868.basic.clksrc1 ${D}${LORA_DIR}/global_conf.json + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.PCB_E286.EU868.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json install -m 755 ${WORKDIR}/local_conf.json ${D}${LORA_DIR}/ - install -d ${D}${sysconfdir}/default - 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 -m 755 util_sink/util_sink ${D}${LORA_DIR}/ install -m 755 util_ack/util_ack ${D}${LORA_DIR}/ install -m 755 util_tx_test/util_tx_test ${D}${LORA_DIR}/ @@ -52,6 +46,11 @@ do_install() { do_install_append_mtp() { install -m 755 ${WORKDIR}/global_conf.json.3.0.0.PCB_E286.EU868.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json + + install -d ${D}${sysconfdir}/default + 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 } FILES_${PN} += "${LORA_DIR}" |