From 1187aaefce6d25c8445672b2cdc30a8865b26a09 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Tue, 3 Jan 2017 15:12:24 +0100 Subject: 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. --- recipes-sota/rvi-sota-client/rvi-sota-client_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-sota') 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" FILES_${PN} = " \ ${bindir}/sota_client \ ${bindir}/sota_sysinfo.sh \ + ${bindir}/system_info.sh \ ${bindir}/sota_ostree.sh \ ${sysconfdir}/sota_client.version \ ${sysconfdir}/sota_certificates \ @@ -117,6 +118,7 @@ do_install() { install -d ${D}${bindir} install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir} install -m 0755 run/sota_sysinfo.sh ${D}${bindir} + ln -fs ${bindir}/sota_sysinfo.sh ${D}${bindir}/system_info.sh # For compatibilty with old sota.toml files install -m 0755 run/sota_ostree.sh ${D}${bindir} if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then -- cgit v1.2.3-54-g00ecf