summaryrefslogtreecommitdiffstats
path: root/external/meta-updater/conf/distro
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-updater/conf/distro')
-rw-r--r--external/meta-updater/conf/distro/poky-sota-systemd.conf12
-rw-r--r--external/meta-updater/conf/distro/poky-sota.conf7
-rw-r--r--external/meta-updater/conf/distro/sota.conf.inc19
3 files changed, 38 insertions, 0 deletions
diff --git a/external/meta-updater/conf/distro/poky-sota-systemd.conf b/external/meta-updater/conf/distro/poky-sota-systemd.conf
new file mode 100644
index 00000000..b30b322b
--- /dev/null
+++ b/external/meta-updater/conf/distro/poky-sota-systemd.conf
@@ -0,0 +1,12 @@
+require conf/distro/poky.conf
+
+require conf/distro/sota.conf.inc
+
+DISTRO = "poky-sota"
+DISTRO_NAME = "OTA-enabled Linux"
+DISTRO_VERSION = "1.0"
+DISTRO_CODENAME = "sota"
+
+DISTRO_FEATURES_append = " systemd"
+VIRTUAL-RUNTIME_init_manager = "systemd"
+PREFERRED_RPROVIDER_virtual/network-configuration ??= "networkd-dhcp-conf"
diff --git a/external/meta-updater/conf/distro/poky-sota.conf b/external/meta-updater/conf/distro/poky-sota.conf
new file mode 100644
index 00000000..3fb1d204
--- /dev/null
+++ b/external/meta-updater/conf/distro/poky-sota.conf
@@ -0,0 +1,7 @@
+require conf/distro/poky.conf
+require conf/distro/sota.conf.inc
+
+DISTRO = "poky-sota"
+DISTRO_NAME = "OTA-enabled Linux"
+DISTRO_VERSION = "1.0"
+DISTRO_CODENAME = "sota"
diff --git a/external/meta-updater/conf/distro/sota.conf.inc b/external/meta-updater/conf/distro/sota.conf.inc
new file mode 100644
index 00000000..f6111bfc
--- /dev/null
+++ b/external/meta-updater/conf/distro/sota.conf.inc
@@ -0,0 +1,19 @@
+# Common settings to enable SOTA
+# This can be pulled into a custom distribution, or included in
+# local.conf directly with:
+#
+# require conf/distro/sota.conf.inc
+
+DISTRO_FEATURES_append = " sota usrmerge"
+DISTRO_FEATURES_NATIVE_append = " sota"
+INHERIT += " sota"
+# Prelinking increases the size of downloads and causes build errors
+USER_CLASSES_remove = "image-prelink"
+
+# Enable reproducible builds. Use 0 as mtime, the same as OSTree is using.
+INHERIT += "reproducible_build_simple"
+
+export SOURCE_DATE_EPOCH ?= "0"
+REPRODUCIBLE_TIMESTAMP_ROOTFS ?= "0"
+
+HOSTTOOLS_append = " sync sha256sum"