summaryrefslogtreecommitdiffstats
path: root/meta-sota/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-sota/conf')
-rw-r--r--meta-sota/conf/include/agl-sota.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-sota/conf/include/agl-sota.inc b/meta-sota/conf/include/agl-sota.inc
new file mode 100644
index 0000000..4960e1a
--- /dev/null
+++ b/meta-sota/conf/include/agl-sota.inc
@@ -0,0 +1,15 @@
+DISTRO_FEATURES_append = " agl-ota"
+OVERRIDES .= ":sota"
+
+IMAGE_INSTALL_append = " ostree"
+
+# live image for OSTree-enabled systems
+IMAGE_CLASSES += "image_types_ostree image_types_ota"
+IMAGE_FSTYPES += "ostreepush otaimg"
+
+# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
+OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
+OSTREE_BRANCHNAME ?= "agl-ota-${MACHINE}"
+OSTREE_OSNAME ?= "agl"
+OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
+