From: Scott Murray Date: Wed, 8 May 2024 18:49:47 +0000 (-0400) Subject: meta-agl-ic-container: handle scarthgap IMAGE_NAME_SUFFIX change X-Git-Tag: 17.91.0~11 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=dff743a39f2fec97f604406a04fba675c791bff6;p=AGL%2Fmeta-agl-devel.git meta-agl-ic-container: handle scarthgap IMAGE_NAME_SUFFIX change Use the IMAGE_NAME_SUFFIX variable in the container image copying logic to handle its addition into the image filenames by upstream. Bug-AGL: SPEC-5123 Change-Id: I65fb062dc02ea44847787e5a7e6deaf524d9ff42 Signed-off-by: Scott Murray --- diff --git a/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc b/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc index 49b7bc8e..4f230298 100644 --- a/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc +++ b/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc @@ -12,7 +12,7 @@ install_container_images() { name=${image#guest-image-} rm -rf ${IMAGE_ROOTFS}/var/lib/machines/${name} install -m 0755 -d ${IMAGE_ROOTFS}/var/lib/machines/${name} - src="${TOPDIR}/tmp-${config}/deploy/images/${MACHINE}/${image}-${MACHINE}${MACHINE_SUFFIX}.tar.bz2" + src="${TOPDIR}/tmp-${config}/deploy/images/${MACHINE}/${image}-${MACHINE}${MACHINE_SUFFIX}${IMAGE_NAME_SUFFIX}.tar.bz2" bbnote "Installing ${src}" tar -C ${IMAGE_ROOTFS}/var/lib/machines/${name} -xf ${src} done