diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-06-08 17:54:32 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-06-08 17:54:32 +0200 |
commit | 08e225b8e66e25003108921c0b05688c7ea6892e (patch) | |
tree | 71c5e979604fac0835089ef150e0599fadc20e81 | |
parent | c1d3335e548c4d54414791cc8197b652da84e9a3 (diff) | |
download | meta-updater-08e225b8e66e25003108921c0b05688c7ea6892e.tar.gz |
Set default SOTA_CLIENT directly in sota.bbclass
-rw-r--r-- | classes/sota.bbclass | 1 | ||||
-rw-r--r-- | conf/distro/sota.conf.inc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 2761111..dfd3c27 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -5,6 +5,7 @@ python __anonymous() { | |||
5 | 5 | ||
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 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT}" | 9 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT}" |
9 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 10 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
10 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" | 11 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" |
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 07844e3..7438424 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
@@ -6,6 +6,5 @@ | |||
6 | 6 | ||
7 | DISTRO_FEATURES_append = " sota" | 7 | DISTRO_FEATURES_append = " sota" |
8 | INHERIT += " sota" | 8 | INHERIT += " sota" |
9 | SOTA_CLIENT ?= "aktualizr" | ||
10 | # Prelinking increases the size of downloads and causes build errors | 9 | # Prelinking increases the size of downloads and causes build errors |
11 | USER_CLASSES_remove = "image-prelink" | 10 | USER_CLASSES_remove = "image-prelink" |