summaryrefslogtreecommitdiffstats
path: root/external/meta-updater/conf
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-updater/conf')
-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
-rw-r--r--external/meta-updater/conf/include/bblayers/sota.inc3
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_am335x-evm.inc1
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_intel-corei7-64.inc2
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_m3ulcb.inc3
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_porter.inc4
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_qemux86-64.inc1
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_raspberrypi2.inc3
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_raspberrypi3-64.inc2
-rw-r--r--external/meta-updater/conf/include/bblayers/sota_raspberrypi3.inc4
-rw-r--r--external/meta-updater/conf/layer.conf13
-rw-r--r--external/meta-updater/conf/local.conf.sample.append35
14 files changed, 109 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"
diff --git a/external/meta-updater/conf/include/bblayers/sota.inc b/external/meta-updater/conf/include/bblayers/sota.inc
new file mode 100644
index 00000000..26eea228
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota.inc
@@ -0,0 +1,3 @@
+BBLAYERS += "${METADIR}/meta-updater"
+BBLAYERS += "${METADIR}/meta-openembedded/meta-filesystems"
+BBLAYERS += "${METADIR}/meta-openembedded/meta-oe"
diff --git a/external/meta-updater/conf/include/bblayers/sota_am335x-evm.inc b/external/meta-updater/conf/include/bblayers/sota_am335x-evm.inc
new file mode 100644
index 00000000..909a7a43
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_am335x-evm.inc
@@ -0,0 +1 @@
+BBLAYERS += "${METADIR}/meta-ti"
diff --git a/external/meta-updater/conf/include/bblayers/sota_intel-corei7-64.inc b/external/meta-updater/conf/include/bblayers/sota_intel-corei7-64.inc
new file mode 100644
index 00000000..8e85a6c8
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_intel-corei7-64.inc
@@ -0,0 +1,2 @@
+BBLAYERS += "${METADIR}/meta-updater-minnowboard"
+BBLAYERS += "${METADIR}/meta-intel"
diff --git a/external/meta-updater/conf/include/bblayers/sota_m3ulcb.inc b/external/meta-updater/conf/include/bblayers/sota_m3ulcb.inc
new file mode 100644
index 00000000..4f2e0a91
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_m3ulcb.inc
@@ -0,0 +1,3 @@
+BBLAYERS += "${METADIR}/meta-renesas"
+BBLAYERS += "${METADIR}/meta-renesas-rcar-gen3"
+BBLAYERS += "${METADIR}/meta-openembedded/meta-multimedia"
diff --git a/external/meta-updater/conf/include/bblayers/sota_porter.inc b/external/meta-updater/conf/include/bblayers/sota_porter.inc
new file mode 100644
index 00000000..a50b71cd
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_porter.inc
@@ -0,0 +1,4 @@
+BBLAYERS += "${METADIR}/meta-renesas"
+BBLAYERS += "${METADIR}/meta-renesas/meta-rcar-gen2"
+BBLAYERS += "${METADIR}/meta-openembedded/meta-multimedia"
+BBLAYERS += "${METADIR}/meta-updater-porter"
diff --git a/external/meta-updater/conf/include/bblayers/sota_qemux86-64.inc b/external/meta-updater/conf/include/bblayers/sota_qemux86-64.inc
new file mode 100644
index 00000000..9ccbfa6e
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_qemux86-64.inc
@@ -0,0 +1 @@
+BBLAYERS += "${METADIR}/meta-updater-qemux86-64"
diff --git a/external/meta-updater/conf/include/bblayers/sota_raspberrypi2.inc b/external/meta-updater/conf/include/bblayers/sota_raspberrypi2.inc
new file mode 100644
index 00000000..03f8f44b
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_raspberrypi2.inc
@@ -0,0 +1,3 @@
+BBLAYERS += "${METADIR}/meta-openembedded/meta-python"
+BBLAYERS += "${METADIR}/meta-updater-raspberrypi"
+BBLAYERS += "${METADIR}/meta-raspberrypi"
diff --git a/external/meta-updater/conf/include/bblayers/sota_raspberrypi3-64.inc b/external/meta-updater/conf/include/bblayers/sota_raspberrypi3-64.inc
new file mode 100644
index 00000000..ea420bad
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_raspberrypi3-64.inc
@@ -0,0 +1,2 @@
+BBLAYERS += "${METADIR}/meta-updater-raspberrypi"
+BBLAYERS += "${METADIR}/meta-raspberrypi"
diff --git a/external/meta-updater/conf/include/bblayers/sota_raspberrypi3.inc b/external/meta-updater/conf/include/bblayers/sota_raspberrypi3.inc
new file mode 100644
index 00000000..42d5eb1a
--- /dev/null
+++ b/external/meta-updater/conf/include/bblayers/sota_raspberrypi3.inc
@@ -0,0 +1,4 @@
+BBLAYERS += "${METADIR}/meta-openembedded/meta-python"
+BBLAYERS += "${METADIR}/meta-updater-raspberrypi"
+BBLAYERS += "${METADIR}/meta-raspberrypi"
+BBLAYERS += "${METADIR}/meta-openembedded/meta-networking"
diff --git a/external/meta-updater/conf/layer.conf b/external/meta-updater/conf/layer.conf
new file mode 100644
index 00000000..627a1b8a
--- /dev/null
+++ b/external/meta-updater/conf/layer.conf
@@ -0,0 +1,13 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "sota"
+BBFILE_PATTERN_sota = "^${LAYERDIR}/"
+BBFILE_PRIORITY_sota = "7"
+
+LAYERDEPENDS_sota = "filesystems-layer"
+LAYERSERIES_COMPAT_sota = "thud"
diff --git a/external/meta-updater/conf/local.conf.sample.append b/external/meta-updater/conf/local.conf.sample.append
new file mode 100644
index 00000000..4588ec3a
--- /dev/null
+++ b/external/meta-updater/conf/local.conf.sample.append
@@ -0,0 +1,35 @@
+
+#
+# meta-updater configuration, see README.adoc and aktualizr's
+# documentation for more options and detailed documentation
+#
+
+MACHINE = "##MACHINE##"
+DISTRO = "poky-sota-systemd"
+
+# General SOTA setup
+#SOTA_CLIENT_PROV = "aktualizr-auto-prov"
+#SOTA_PACKED_CREDENTIALS = "/path/to/credentials.zip"
+
+# Uncomment this line to start an ssh server at boot automatically
+#IMAGE_FEATURES += "ssh-server-dropbear"
+
+# Uncomment this line to set the log level of aktualizr to 'debug' (from 'info'
+# by default)
+#IMAGE_INSTALL_append += " aktualizr-log-debug"
+
+# Store systemd logs in persistent storage
+#
+# It greatly helps diagnosing issues on testing devices but should be
+# carefully weighted against file system usage and flash device wear for
+# production systems. Please refer to systemd's docs for more details
+IMAGE_INSTALL_append += " systemd-journald-persistent"
+
+# Set resource limits for aktualizr service
+#
+# Uncomment these lines to change the default parameters.
+#
+#RESOURCE_CPU_WEIGHT_pn-aktualizr = "100"
+#RESOURCE_MEMORY_HIGH_pn-aktualizr = "100M"
+#RESOURCE_MEMORY_MAX_pn-aktualizr = "80%"
+IMAGE_INSTALL_append += " aktualizr-resource-control"