Skip to content
Snippets Groups Projects
Commit bcf27412 authored by BRONES Romain's avatar BRONES Romain
Browse files

fix(opcua):Move opcua files in /opt

parent b2fbfe98
No related branches found
No related tags found
No related merge requests found
APPUIO (uio:uio0?map=/opt/fofb-opcua-server/app.mapt)
APPUIO (uio:uio0?map=/opt/fofb/map/app.mapt)
......@@ -13,7 +13,7 @@ start() {
fi
echo "Starting fofb-opcua-server" >> $LOG_FILE
cd /opt/fofb-opcua-server
cd /opt/fofb/opcua-server
stdbuf -oL opcua-generic-chimeratk-server01 &>> $LOG_FILE &
### Create the lock file ###
......
......@@ -18,13 +18,13 @@ SRC_URI = " \
RDEPENDS_${PN}=" genericdeviceserver-opcua bash"
FILES_${PN}+="/opt/fofb-opcua-server/*"
FILES_${PN}+="/opt/fofb/opcua-server/*"
FILES_${PN}+="/etc/init.d/fofb-opcua-server.sh"
do_install() {
install -d ${D}/opt/fofb-opcua-server/
install -m 0644 ${WORKDIR}/devices.dmap ${D}/opt/fofb-opcua-server/devices.dmap
install -m 0644 ${WORKDIR}/generic_chimeratk_server_configuration.xml ${D}/opt/fofb-opcua-server/generic_chimeratk_server_configuration.xml
install -d ${D}/opt/fofb/opcua-server/
install -m 0644 ${WORKDIR}/devices.dmap ${D}/opt/fofb/opcua-server/devices.dmap
install -m 0644 ${WORKDIR}/generic_chimeratk_server_configuration.xml ${D}/opt/fofb/opcua-server/generic_chimeratk_server_configuration.xml
install -d ${D}/etc/init.d/
install -m 0755 ${WORKDIR}/fofb-opcua-server.sh ${D}/etc/init.d/fofb-opcua-server.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment