summaryrefslogtreecommitdiffstats
path: root/external/meta-updater/conf/distro/sota.conf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-updater/conf/distro/sota.conf.inc')
-rw-r--r--external/meta-updater/conf/distro/sota.conf.inc19
1 files changed, 19 insertions, 0 deletions
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"