lxc-host-image-demo fail in runinstall_container_image on KF

Description

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}" ? 

 

 

Environment

None

Activity

Show:

Walt Miner 
September 16, 2021 at 6:31 PM

Close for LL 12.0.1

Scott Murray 
July 14, 2021 at 4:53 PM

The redefinition of IMAGE_NAME and IMAGE_LINK_NAME done for the Kingfisher images as opposed to having a separate h3ulcb-kf MACHINE configuration is indeed inconvenient when we want to grab an image out of the deploy directory.  ATM I don't see a way to avoid having either some special case for Kingfisher or trying to determine that suffix with some anonymous python.  I'll experiment a bit and see what I can come up with.  One wrinkle is that I don't believe there's currently an override or AGL_FEATURE that identifies we're building for Kingfisher and not plain ULCB.  Re-enabling the "kingfisher" MACHINEOVERRIDE in meta-agl-bsp/meta-rcar-gen3-adas/conf/include/rcar-gen3-adas.inc might be one approach, then we could use it in lxc-host-image-minimal.bb.  Any thoughts, ?

As an aside, note that rcar-gen3-adas.inc directly appends to IMAGE_INSTALL, which does mean that those packages will end up in both the host and guest images.  That will likely need to be changed to using something like one of the MACHINE_EXTRA variables, though there's an outstanding issue there if the packages are viewed as required in the host since the IC EG LXC images do not pull in packagegroup-machine-base ATM and we're setting NO_RECOMMENDATIONS.  Right now that's being worked around with e.g. a rcar3 specific IMAGE_INSTALL_append in lxc-host-image-demo.bb, but that's not going to be sustainable long-term if many targets have to be supported.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Hardware Platform(s) Affected

Renesas H3+KF
Renesas M3+KF

Components

Affects versions

Priority

Created July 14, 2021 at 1:22 AM
Updated September 16, 2021 at 6:31 PM
Resolved September 15, 2021 at 6:49 PM