summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/poky-sota-systemd.conf6
-rw-r--r--conf/distro/poky-sota.conf7
-rw-r--r--conf/distro/sota.conf.inc11
3 files changed, 13 insertions, 11 deletions
diff --git a/conf/distro/poky-sota-systemd.conf b/conf/distro/poky-sota-systemd.conf
index 62b682a..726e9f9 100644
--- a/conf/distro/poky-sota-systemd.conf
+++ b/conf/distro/poky-sota-systemd.conf
@@ -1,6 +1,6 @@
1require conf/distro/poky.conf 1require conf/distro/poky.conf
2 2
3DISTRO_FEATURES_append = " sota" 3require conf/distro/sota.conf.inc
4 4
5DISTRO = "poky-sota" 5DISTRO = "poky-sota"
6DISTRO_NAME = "OTA-enabled Linux" 6DISTRO_NAME = "OTA-enabled Linux"
@@ -10,8 +10,4 @@ DISTRO_CODENAME = "sota"
10DISTRO_FEATURES_append = " systemd" 10DISTRO_FEATURES_append = " systemd"
11VIRTUAL-RUNTIME_init_manager = "systemd" 11VIRTUAL-RUNTIME_init_manager = "systemd"
12 12
13INHERIT_prepend = " sota"
14IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" 13IMAGE_INSTALL_append = " connman connman-client rvi-sota-client"
15
16# Prelinking increases the size of downloads and causes build errors
17USER_CLASSES_remove = "image-prelink"
diff --git a/conf/distro/poky-sota.conf b/conf/distro/poky-sota.conf
index c52395d..2bbc62b 100644
--- a/conf/distro/poky-sota.conf
+++ b/conf/distro/poky-sota.conf
@@ -1,14 +1,9 @@
1require conf/distro/poky.conf 1require conf/distro/poky.conf
2 2require conf/distro/sota.conf.inc
3DISTRO_FEATURES_append = " sota"
4 3
5DISTRO = "poky-sota" 4DISTRO = "poky-sota"
6DISTRO_NAME = "OTA-enabled Linux" 5DISTRO_NAME = "OTA-enabled Linux"
7DISTRO_VERSION = "1.0" 6DISTRO_VERSION = "1.0"
8DISTRO_CODENAME = "sota" 7DISTRO_CODENAME = "sota"
9 8
10INHERIT += " sota"
11IMAGE_INSTALL_append = " connman connman-client" 9IMAGE_INSTALL_append = " connman connman-client"
12
13# Prelinking increases the size of downloads and causes build errors
14USER_CLASSES_remove = "image-prelink"
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc
new file mode 100644
index 0000000..fddd1d2
--- /dev/null
+++ b/conf/distro/sota.conf.inc
@@ -0,0 +1,11 @@
1# Common settings to enable SOTA
2# This can be pulled into a custom distribution, or included in
3# local.conf directly with:
4#
5# require conf/distro/sota.conf.inc
6
7DISTRO_FEATURES_append = " sota"
8INHERIT += " sota"
9IMAGE_INSTALL_append = " aktualizr"
10# Prelinking increases the size of downloads and causes build errors
11USER_CLASSES_remove = "image-prelink"