diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2017-09-11 11:09:39 +0300 |
---|---|---|
committer | Leon Anavi <leon.anavi@konsulko.com> | 2017-09-11 14:53:48 +0300 |
commit | d472c329204253eacd065011d1fb0424fc80c523 (patch) | |
tree | a7f62a56aa232cbf8a314812bcd5fba5ae890d88 | |
parent | 975c98c334e2f70cc61a4eb490091eaafa256aa7 (diff) | |
download | meta-updater-d472c329204253eacd065011d1fb0424fc80c523.tar.gz |
sota.bbclass: Add aktualizr-auto-prov
Append recipe aktualizr-auto-prov for provisioning of
systemd service and configurations to the SOTA image.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r-- | classes/sota.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 5073e29..c825143 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -6,7 +6,8 @@ python __anonymous() { | |||
6 | OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" | 6 | OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" |
7 | 7 | ||
8 | SOTA_CLIENT ??= "aktualizr" | 8 | SOTA_CLIENT ??= "aktualizr" |
9 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT}" | 9 | SOTA_CLIENT_PROV ??= "aktualizr-auto-prov" |
10 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" | ||
10 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 11 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
11 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" | 12 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" |
12 | 13 | ||