diff options
| author | cajun-rat <p@beta16.co.uk> | 2017-01-03 13:54:56 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-03 13:54:56 +0100 | 
| commit | 31d297ae88d82487e2abbe0eb662e780bece8b3f (patch) | |
| tree | 5e7d5d55de98bb4eaf14d6a02c55faca6e126829 | |
| parent | c4f5a9048527b491f7081bab5c8c70345a22df66 (diff) | |
| parent | 3ce652b0a905fec09aa41a7cdbd9558d1462c312 (diff) | |
| download | meta-updater-31d297ae88d82487e2abbe0eb662e780bece8b3f.tar.gz | |
Merge pull request #17 from advancedtelematic/bugfix/ostreescript
Bring sota_ostree.sh back
| -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 | 
