Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Change all paths from /opt to /usr/share #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions recipes-connectivity/rvi/rvi.inc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ do_compile() {
oe_runmake escript
}

RVI_DIR = "/opt/rvi_core"
RVI_DIR = "/usr/share/rvi_core"

FILES_RVI = "${RVI_DIR}/*"
FILES_${PN} += "${FILES_RVI}"
Expand All @@ -51,9 +51,9 @@ do_install() {
chown -R root:root ${D}${RVI_DIR}

# install RVI default configuration file
install -d ${D}${sysconfdir}/opt/rvi/
install -m 0644 ./priv/config/rvi_yocto.config ${D}${sysconfdir}/opt/rvi/rvi.config
install -d ${D}${sysconfdir}/rvi/
install -m 0644 ./priv/config/rvi_yocto.config ${D}${sysconfdir}/rvi/rvi.config

# install startup scripts
install -d ${D}${sysconfdir}/init.d/
install -m 0755 yocto_template/rvi.init ${D}${sysconfdir}/init.d/rvi
Expand All @@ -63,7 +63,7 @@ do_install() {
}

pkg_postinst_${PN} () {
#!/bin/sh -e
#!/bin/sh -e
if test -z "$D"; then
# actions to carry out on the device
# set RVI device ID
Expand Down