diff options
| -rw-r--r-- | recipes-sota/rvi-sota-client/rvi-sota-client_git.bb | 10 |
1 files changed, 6 insertions, 4 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 74e66df..3f9ef86 100644 --- a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb +++ b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb | |||
| @@ -17,10 +17,11 @@ PV = "0.2.23-21-gfe04468" | |||
| 17 | BBCLASSEXTEND = "native" | 17 | BBCLASSEXTEND = "native" |
| 18 | 18 | ||
| 19 | FILES_${PN} = " \ | 19 | FILES_${PN} = " \ |
| 20 | /usr/bin/sota_client \ | 20 | ${bindir}/sota_client \ |
| 21 | /usr/bin/sota_sysinfo.sh \ | 21 | ${bindir}/sota_sysinfo.sh \ |
| 22 | /etc/sota_client.version \ | 22 | ${bindir}/sota_ostree.sh \ |
| 23 | /etc/sota_certificates \ | 23 | ${sysconfdir}/sota_client.version \ |
| 24 | ${sysconfdir}/sota_certificates \ | ||
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/sota_client.service', '', d)} \ | 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/sota_client.service', '', d)} \ |
| 25 | " | 26 | " |
| 26 | 27 | ||
| @@ -115,6 +116,7 @@ do_install() { | |||
| 115 | install -d ${D}${bindir} | 116 | install -d ${D}${bindir} |
| 116 | install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir} | 117 | install -m 0755 target/${TARGET_SYS}/release/sota_client ${D}${bindir} |
| 117 | install -m 0755 run/sota_sysinfo.sh ${D}${bindir} | 118 | install -m 0755 run/sota_sysinfo.sh ${D}${bindir} |
| 119 | install -m 0755 run/sota_ostree.sh ${D}${bindir} | ||
| 118 | 120 | ||
| 119 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 121 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 120 | install -d ${D}${systemd_unitdir}/system | 122 | install -d ${D}${systemd_unitdir}/system |
