-
Task
-
Resolution: Fixed
-
Major
-
Lamprey 12.0.0
-
Renesas H3+KF, Renesas M3+KF
when using h3ulcb-kf , lxc-host-image-demo fail in bitbake and the error log is shown as follow.
tmp-agl-container-guest/deploy/images/h3ulcb/guest-image-cluster-demo-h3ulcb.tar.bz2: Cannot open: No such file or directory
I changed recipe as temporary . Which environment value is better instead of "${MACHINE}" ?
diff --git a/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb b/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb index f702da1..2e7a53c 100644 --- a/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb +++ b/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb @@ -35,7 +35,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}.tar.bz2" + src="${TOPDIR}/tmp-${config}/deploy/images/${MACHINE}/${image}-${MACHINE}-kf.tar.bz2" bbnote "Installing ${src}" tar -C ${IMAGE_ROOTFS}/var/lib/machines/${name} -xf ${src} done