diff options
author | Jon Oster <tkfu@users.noreply.github.com> | 2017-06-01 14:32:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 14:32:26 +0200 |
commit | f804d831585354ba8f59ff7c4ca65f59587fdfb5 (patch) | |
tree | 58b34f19616a70a0631ee7bfe5e78f9af802502c | |
parent | 3dbb25b99ebf51841ed29fa60981cecfdea72e6d (diff) | |
parent | 20aae31c49333946ff83b009153d70763c8def8e (diff) | |
download | meta-updater-f804d831585354ba8f59ff7c4ca65f59587fdfb5.tar.gz |
Merge pull request #73 from advancedtelematic/bugfix/PRO-3195/sotaclient
Add option to choose which sota client to use (if any)
-rw-r--r-- | classes/sota.bbclass | 2 | ||||
-rw-r--r-- | conf/distro/poky-sota-systemd.conf | 2 | ||||
-rw-r--r-- | conf/distro/sota.conf.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index d786b69..2761111 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -5,7 +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 | IMAGE_INSTALL_append_sota = " ostree os-release" | 8 | IMAGE_INSTALL_append_sota = " ostree os-release ${SOTA_CLIENT}" |
9 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 9 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
10 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" | 10 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" |
11 | 11 | ||
diff --git a/conf/distro/poky-sota-systemd.conf b/conf/distro/poky-sota-systemd.conf index 726e9f9..7d008a9 100644 --- a/conf/distro/poky-sota-systemd.conf +++ b/conf/distro/poky-sota-systemd.conf | |||
@@ -10,4 +10,4 @@ DISTRO_CODENAME = "sota" | |||
10 | DISTRO_FEATURES_append = " systemd" | 10 | DISTRO_FEATURES_append = " systemd" |
11 | VIRTUAL-RUNTIME_init_manager = "systemd" | 11 | VIRTUAL-RUNTIME_init_manager = "systemd" |
12 | 12 | ||
13 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" | 13 | IMAGE_INSTALL_append = " connman connman-client" |
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index fddd1d2..07844e3 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
@@ -6,6 +6,6 @@ | |||
6 | 6 | ||
7 | DISTRO_FEATURES_append = " sota" | 7 | DISTRO_FEATURES_append = " sota" |
8 | INHERIT += " sota" | 8 | INHERIT += " sota" |
9 | IMAGE_INSTALL_append = " aktualizr" | 9 | SOTA_CLIENT ?= "aktualizr" |
10 | # Prelinking increases the size of downloads and causes build errors | 10 | # Prelinking increases the size of downloads and causes build errors |
11 | USER_CLASSES_remove = "image-prelink" | 11 | USER_CLASSES_remove = "image-prelink" |