summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-sota/50_local.conf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feature/agl-sota/50_local.conf.inc')
-rw-r--r--templates/feature/agl-sota/50_local.conf.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/feature/agl-sota/50_local.conf.inc b/templates/feature/agl-sota/50_local.conf.inc
index d2bab53..9aec69c 100644
--- a/templates/feature/agl-sota/50_local.conf.inc
+++ b/templates/feature/agl-sota/50_local.conf.inc
@@ -1,7 +1,9 @@
DISTRO_FEATURES_append = " agl-ota"
+IMAGE_INSTALL_append = " otaimg"
+
# live image for OSTree-enabled systems
-IMAGE_CLASSES += "image_types_ota"
+IMAGE_CLASSES += "image_types_ostree image_types_ota"
IMAGE_FSTYPES += "otaimg"
UBOOT_MACHINE_qemux86 = "qemu-x86_defconfig"
@@ -10,3 +12,8 @@ UBOOT_MACHINE_qemux86-64 = "qemu-x86_defconfig"
PREFERRED_PROVIDER_virtual/bootloader_qemux86 ?= "u-boot-ota"
PREFERRED_PROVIDER_virtual/bootloader_qemux86-64 ?= "u-boot-ota"
+# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
+OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
+OSTREE_BRANCHNAME ?= "agl-ota"
+OSTREE_OSNAME ?= "agl"
+