summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-06-23 09:48:49 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2020-06-23 13:00:17 +0200
commit3bb866358f738ba52b180e29715dc0ca888e4c3e (patch)
treec9a83f00d463beabfc4f7e4749be77be525b51c7 /classes
parentcd27c8baa28c406e456c5d1dba2d790e414066bb (diff)
downloadmeta-updater-3bb866358f738ba52b180e29715dc0ca888e4c3e.tar.gz
Put aktualizr-info in a separate package and use it in Secondaries.feat/secondary-aktualizr-info
We did the work a while ago to make aktualizr-info work for Secondaries, but until now we weren't putting the tool into the secondary-image we use for testing. Now it's there. Actually, it's in every image that inherits from sota.bbclass, which is probably a good thing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/sota.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index dc18cbc..fde00cd 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -1,12 +1,11 @@
1DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" 1DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}"
2 2
3SOTA_CLIENT ??= "aktualizr"
4SOTA_CLIENT_PROV ??= "aktualizr-shared-prov" 3SOTA_CLIENT_PROV ??= "aktualizr-shared-prov"
5SOTA_DEPLOY_CREDENTIALS ?= "1" 4SOTA_DEPLOY_CREDENTIALS ?= "1"
6SOTA_HARDWARE_ID ??= "${MACHINE}" 5SOTA_HARDWARE_ID ??= "${MACHINE}"
7 6
8IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest" 7IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest"
9IMAGE_INSTALL_append_sota = " ${SOTA_CLIENT} ${SOTA_CLIENT_PROV} \ 8IMAGE_INSTALL_append_sota = " aktualizr aktualizr-info ${SOTA_CLIENT_PROV} \
10 ostree os-release ostree-kernel \ 9 ostree os-release ostree-kernel \
11 ${@'ostree-initramfs' if d.getVar('KERNEL_IMAGETYPE') != 'fitImage' else ''} \ 10 ${@'ostree-initramfs' if d.getVar('KERNEL_IMAGETYPE') != 'fitImage' else ''} \
12 ${@'ostree-devicetrees' if oe.types.boolean('${OSTREE_DEPLOY_DEVICETREE}') else ''}" 11 ${@'ostree-devicetrees' if oe.types.boolean('${OSTREE_DEPLOY_DEVICETREE}') else ''}"