diff options
author | Matei Valeanu <Matei.Valeanu@enea.com> | 2019-06-12 17:59:53 +0200 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2019-06-26 14:39:33 +0200 |
commit | 1004579ca431cdb239295dc6771af45b41b2791a (patch) | |
tree | 001010e9e36599fa7e9d2e6281aa1573be054fca /images | |
parent | c9704949a3cf50d40078340908dff34c48dba948 (diff) | |
download | meta-el-nfv-access-1004579ca431cdb239295dc6771af45b41b2791a.tar.gz |
ostree and otaimg enhancements
override_image_types_ostree.inc - do_image_ostree task:
-add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to
also remove at clean
-add subimages, imgsuffix flags, to use automatic link creation
-create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE
to use the automatic deploy and clean mechanism (also helps
in cleaning old images)
override_image_types_ota.inc - do_image_otaimg task:
-add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to
also remove at clean
-avoid untar-ing the ostree image, and use OSTREE_ROOTFS
-create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE
to use the automatic deploy and clean mechanism
Move OSTREE_REPO to "${WORKDIR}/ostree-repo", instead of
DEPLOY_DIR_IMAGE, this repo is needed for otaimg creation
sota_xeon-d.bbclass sota_atom-c3000.bbclass:
-set ROOTFS_sota to IMGDEPLOYDIR insted of DEPLOY_DIR_IMAGE,
as this is where the otaimg is now created; also use IMAGE_LINK_NAME
istead of IMAGE_NAME, to have the correct reference to the image,
even if the image was built in a previous run (IMAGE_NAME differs
in this case)
Change-Id: I44e87311d1819b80d34f924630d09e429d411d41
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
Diffstat (limited to 'images')
-rw-r--r-- | images/enea-nfv-access-host-common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/enea-nfv-access-host-common.inc b/images/enea-nfv-access-host-common.inc index ef6d3de..b2dd5a2 100644 --- a/images/enea-nfv-access-host-common.inc +++ b/images/enea-nfv-access-host-common.inc | |||
@@ -4,6 +4,7 @@ REQUIRE_FILES = " \ | |||
4 | " | 4 | " |
5 | REQUIRE_FILES_append_df-efi-secure-boot = " \ | 5 | REQUIRE_FILES_append_df-efi-secure-boot = " \ |
6 | classes/override_image_types_ostree.inc \ | 6 | classes/override_image_types_ostree.inc \ |
7 | classes/override_image_types_ota.inc \ | ||
7 | classes/override_grub-efi_secureboot.inc \ | 8 | classes/override_grub-efi_secureboot.inc \ |
8 | images/secure-boot.inc \ | 9 | images/secure-boot.inc \ |
9 | " | 10 | " |