diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2017-09-28 14:24:19 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2017-09-29 16:33:46 +0200 |
commit | 0ab7fe36dacebd2ab9e79d57987af2205a5f9a09 (patch) | |
tree | 035cd9c49dfeeef86d7e2529c40d5537cad56774 /classes/sota.bbclass | |
parent | e8916f0d63177548c088f183309f724cda0ca795 (diff) | |
download | meta-updater-0ab7fe36dacebd2ab9e79d57987af2205a5f9a09.tar.gz |
Create recipe for implicit provisioning file shuffling.
Split aktualizr into basic and native recipes by moving most of the work
to an include file. Use aktualizr-implicit-writer (on host) to do the
actual work of configuring sota.toml and installing files.
Still not quite fully functional.
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index d3b66e0..357fefd 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -6,7 +6,7 @@ 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 | SOTA_CLIENT_PROV ??= "aktualizr-auto-prov" | 9 | SOTA_CLIENT_PROV ??= "${@bb.utils.contains('DISTRO_FEATURES', 'implicit-prov', 'aktualizr-implicit-prov', 'aktualizr-auto-prov', d)}" |
10 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" | 10 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT} ${SOTA_CLIENT_PROV}" |
11 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 11 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
12 | 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)}" |