summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2017-09-11 11:09:39 +0300
committerLeon Anavi <leon.anavi@konsulko.com>2017-09-11 14:53:48 +0300
commitd472c329204253eacd065011d1fb0424fc80c523 (patch)
treea7f62a56aa232cbf8a314812bcd5fba5ae890d88
parent975c98c334e2f70cc61a4eb490091eaafa256aa7 (diff)
downloadmeta-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.bbclass3
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() {
6OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" 6OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}"
7 7
8SOTA_CLIENT ??= "aktualizr" 8SOTA_CLIENT ??= "aktualizr"
9IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT}" 9SOTA_CLIENT_PROV ??= "aktualizr-auto-prov"
10IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}"
10IMAGE_CLASSES += " image_types_ostree image_types_ota" 11IMAGE_CLASSES += " image_types_ostree image_types_ota"
11IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" 12IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}"
12 13