summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorPhil Wise <phil@advancedtelematic.com>2017-01-03 15:12:24 +0100
committerPhil Wise <phil@advancedtelematic.com>2017-01-03 15:12:24 +0100
commit1187aaefce6d25c8445672b2cdc30a8865b26a09 (patch)
tree87f3fd418ff9a45884fa6e54d16115dc9bef3b4f /recipes-sota
parent65e1ef335ea8f6518e906ba7a52e35e0197e1059 (diff)
downloadmeta-updater-1187aaefce6d25c8445672b2cdc30a8865b26a09.tar.gz
Make system_info.sh a symlink to sota_sysinfo.sh
The name of the system_info script comes from the sota.toml file, and old files are still around. Keep the old name working.
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/rvi-sota-client/rvi-sota-client_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
index 04e4e6e..0dfec84 100644
--- a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
+++ b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb
@@ -19,6 +19,7 @@ BBCLASSEXTEND = "native"
19FILES_${PN} = " \ 19FILES_${PN} = " \
20 ${bindir}/sota_client \ 20 ${bindir}/sota_client \
21 ${bindir}/sota_sysinfo.sh \ 21 ${bindir}/sota_sysinfo.sh \
22 ${bindir}/system_info.sh \
22 ${bindir}/sota_ostree.sh \ 23 ${bindir}/sota_ostree.sh \
23 ${sysconfdir}/sota_client.version \ 24 ${sysconfdir}/sota_client.version \
24 ${sysconfdir}/sota_certificates \ 25 ${sysconfdir}/sota_certificates \
@@ -117,6 +118,7 @@ do_install() {
117 install -d ${D}${bindir} 118 install -d ${D}${bindir}
118 install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir} 119 install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir}
119 install -m 0755 run/sota_sysinfo.sh ${D}${bindir} 120 install -m 0755 run/sota_sysinfo.sh ${D}${bindir}
121 ln -fs ${bindir}/sota_sysinfo.sh ${D}${bindir}/system_info.sh # For compatibilty with old sota.toml files
120 install -m 0755 run/sota_ostree.sh ${D}${bindir} 122 install -m 0755 run/sota_ostree.sh ${D}${bindir}
121 123
122 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 124 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then