From 4e1566679067975e3e8ee0a9198e4df332e6e32e Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Mon, 26 Sep 2016 15:44:53 +0200 Subject: Added initramfs image and fixed several error to make AGL rootfs bootable as an OSTree deployment Bug-AGL: SPEC-253 Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6 Signed-off-by: Anton Gerasimov --- templates/feature/agl-sota/50_local.conf.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'templates') 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" + -- cgit 1.2.3-korg