From 1c53ba362775c6f658406ab3f2333cdee260de79 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Wed, 24 May 2017 16:14:26 +0200 Subject: Support Aktualizr in manual-provisioning mode Aktualizr currently supports OSTree updates in non-autoprovisioned mode. Add a systemd service to run it in that mode. It uses the same location for the config file as rvi-sota-client (/sysroot/boot/sota.toml) Also, the aktualizr recipe is reformatted according to meta-openembedded/contrib/oe-stylize.py (which follows the OE styleguide) --- classes/image_types_ota.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index cb71899..306a3c0 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass @@ -99,6 +99,8 @@ IMAGE_CMD_otaimg () { tar --xattrs --xattrs-include='*' -C ${HOME_TMP} -xf ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.ostree.tar.bz2 ./usr/homedirs ./var/sota || true mv ${HOME_TMP}/var/sota ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/ || true mv ${HOME_TMP}/usr/homedirs/home ${PHYS_SYSROOT}/ || true + # Ensure that /var/local exists (AGL symlinks /usr/local to /var/local) + install -d ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/local rm -rf ${HOME_TMP} # Calculate image type -- cgit v1.2.3-54-g00ecf