diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-06-23 14:11:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 14:11:18 +0200 |
commit | 099bd90514e236ea515666221e7ec8234d56190f (patch) | |
tree | c9a83f00d463beabfc4f7e4749be77be525b51c7 /classes/sota.bbclass | |
parent | cd27c8baa28c406e456c5d1dba2d790e414066bb (diff) | |
parent | 3bb866358f738ba52b180e29715dc0ca888e4c3e (diff) | |
download | meta-updater-099bd90514e236ea515666221e7ec8234d56190f.tar.gz |
Merge pull request #736 from advancedtelematic/feat/secondary-aktualizr-info
Put aktualizr-info in a separate package and use it in Secondaries.
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 3 |
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 @@ | |||
1 | DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" | 1 | DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" |
2 | 2 | ||
3 | SOTA_CLIENT ??= "aktualizr" | ||
4 | SOTA_CLIENT_PROV ??= "aktualizr-shared-prov" | 3 | SOTA_CLIENT_PROV ??= "aktualizr-shared-prov" |
5 | SOTA_DEPLOY_CREDENTIALS ?= "1" | 4 | SOTA_DEPLOY_CREDENTIALS ?= "1" |
6 | SOTA_HARDWARE_ID ??= "${MACHINE}" | 5 | SOTA_HARDWARE_ID ??= "${MACHINE}" |
7 | 6 | ||
8 | IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest" | 7 | IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest" |
9 | IMAGE_INSTALL_append_sota = " ${SOTA_CLIENT} ${SOTA_CLIENT_PROV} \ | 8 | IMAGE_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 ''}" |