Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 0 additions & 153 deletions recipes-go/3mdeb-rtectrl/3mdeb-rtectrl/RteCtrl.cfg

This file was deleted.

9 changes: 7 additions & 2 deletions recipes-go/3mdeb-rtectrl/3mdeb-rtectrl_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ DEPENDS += " \
"

PV = "0.5.3"
SRC_URI = "git://git@github.com/3mdeb/RteCtrl.git;protocol=https;branch=master"
SRCREV = "9910a7254dae317fdcc0afebf91e3985a0622005"
SRC_URI = "git://git@github.com/3mdeb/RteCtrl.git;protocol=https;branch=update-config-gpio"
SRCREV = "24ee0e666fb5ca63b4b65f894c53564f71fdfa79"

FILES:${PN} += " \
${datadir}/RteWeb/* \
Expand Down Expand Up @@ -42,4 +42,9 @@ do_install:append() {
# rte_ctrl script
install -d ${D}{bindir}
install -m 0755 ${S}/src/${GO_IMPORT}/scripts/rte_ctrl ${D}${bindir}

# configuration file
install -d ${D}${sysconfdir}/RteCtrl
install -m 0644 ${S}/src/${GO_IMPORT}/config/RteCtrl.cfg ${D}${sysconfdir}/RteCtrl/

}
5 changes: 0 additions & 5 deletions recipes-go/3mdeb-rtectrl/3mdeb-rtectrl_git.bbappend
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI:append = " \
file://RteCtrl.cfg \
file://RteCtrl.service \
"

Expand All @@ -11,10 +10,6 @@ FILES:${PN} += " \
"

do_install:append() {
# configuration file
install -d ${D}${sysconfdir}/RteCtrl
install -m 0644 ${WORKDIR}/RteCtrl.cfg ${D}${sysconfdir}/RteCtrl/

install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/RteCtrl.service ${D}${systemd_unitdir}/system/
}
Expand Down