diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-26 15:44:53 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-26 15:44:53 +0200 |
commit | 4e1566679067975e3e8ee0a9198e4df332e6e32e (patch) | |
tree | 9d0ca74f9868e22e878524aa6bfcebeb97a6990e /templates/feature | |
parent | 111007af41bd44d3b634563373fa7b04dc6aa2ae (diff) |
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 <anton@advancedtelematic.com>
Diffstat (limited to 'templates/feature')
-rw-r--r-- | templates/feature/agl-sota/50_local.conf.inc | 9 |
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" + |