summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-05-08 14:49:47 -0400
committerScott Murray <scott.murray@konsulko.com>2024-05-08 15:05:58 -0400
commitdff743a39f2fec97f604406a04fba675c791bff6 (patch)
tree05eb6978fe2d55c80d59d44678bbf127c28ec3cd /meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc
parent6d7244e5e0f5f3da430e4fb05e185e214bcc5a49 (diff)
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 <scott.murray@konsulko.com>
Diffstat (limited to 'meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc')
-rw-r--r--meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc2
1 files changed, 1 insertions, 1 deletions
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