[PATCH 3/4] rvi-sota-client_git: Minor improvements

leon.anavi at konsulko.com leon.anavi at konsulko.com
Thu Mar 31 09:39:34 EDT 2016


From: Leon Anavi <leon.anavi at konsulko.com>

Remove unnecessary FILES_${PN} and replace
${prefix}/bin with ${bindir}

Signed-off-by: Leon Anavi <leon.anavi at konsulko.com>
---
 .../recipes-sota/rvi-sota-client/rvi-sota-client_git.bb            | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/meta-genivi-demo/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb b/meta-genivi-demo/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
index 07386bf..4bed119 100644
--- a/meta-genivi-demo/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
+++ b/meta-genivi-demo/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
@@ -22,17 +22,12 @@ SYSTEMD_SERVICE_${PN} = "rvi-sota-client.service"
 
 do_install_append() {
  install -m 0755 -p -D ${S}/docker/client.toml ${D}/var/sota/client.toml
- install -m 0755 -p -D ${S}/docker/run.sh ${D}${prefix}/bin/run.sh
+ install -m 0755 -p -D ${S}/docker/run.sh ${D}${bindir}/run.sh
  if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
   install -p -D ${WORKDIR}/rvi-sota-client.service ${D}${systemd_unitdir}/system/rvi-sota-client.service
  fi
 }
 
-FILES_${PN} += "/var/sota/"
-FILES_${PN} += "/var/sota/client.toml"
-FILES_${PN} += "${prefix}/bin/"
-FILES_${PN} += "${prefix}/bin/run.sh"
-
 ## dbus-rs
 SRC_URI += "\
         git://github.com/diwic/dbus-rs.git;protocol=https;name=dbus-rs;destsuffix=dbus-rs \
-- 
2.1.4




More information about the genivi-projects mailing list