diff options
| author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-12-23 12:34:33 +0100 |
|---|---|---|
| committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-12-23 12:34:33 +0100 |
| commit | db58e575655be131df4a597d66bfdec2ca128474 (patch) | |
| tree | 8a83a7330a61342c777e2b7379dd8d99597932c8 /recipes-sota/rvi-sota-client | |
| parent | 96ed051bfbee1d3c01d9ad7a45ad53c672623a24 (diff) | |
| download | meta-updater-db58e575655be131df4a597d66bfdec2ca128474.tar.gz | |
Deploy credentials to physical sysroot's /boot
Diffstat (limited to 'recipes-sota/rvi-sota-client')
| -rw-r--r-- | recipes-sota/rvi-sota-client/rvi-sota-client_git.bb | 6 |
1 files changed, 5 insertions, 1 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 0acc6c6..8ffe7ce 100644 --- a/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb +++ b/recipes-sota/rvi-sota-client/rvi-sota-client_git.bb | |||
| @@ -118,7 +118,11 @@ do_install() { | |||
| 118 | 118 | ||
| 119 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 119 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 120 | install -d ${D}${systemd_unitdir}/system | 120 | install -d ${D}${systemd_unitdir}/system |
| 121 | install -c ${S}/run/sota_client.service ${D}${systemd_unitdir}/system | 121 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'true', 'false', d)}; then |
| 122 | install -c ${S}/run/sota_client_ostree.service ${D}${systemd_unitdir}/system/sota_client.service | ||
| 123 | else | ||
| 124 | install -c ${S}/run/sota_client.service ${D}${systemd_unitdir}/system/sota_client.service | ||
| 125 | fi | ||
| 122 | fi | 126 | fi |
| 123 | 127 | ||
| 124 | install -d ${D}${sysconfdir} | 128 | install -d ${D}${sysconfdir} |
