Hi Clement, Yes, I'm aware of the meta-embedded-container layer. The approach taken in that recipe relies on having an intermediary step at first boot where the containers images are loaded from the archive, which I would like to avoid. For this, the best approach I found so far is to populate the container store on the host by running podman pull and then installing the whole store into the target rootfs. This is working so far, but I am having issues with the do_package task taking very long (>1h) due to the large number of files in the store which BB has to process individually.
Best regards, --Adrian ________________________________ From: Clément Péron <[email protected]> Sent: Tuesday, April 18, 2023 6:59 PM To: Adrian Dudau <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: [meta-virtualization] Deploying container images directly into the target rootfs at build time Hi, On Tue, 18 Apr 2023 at 18:54, Clément Péron via lists.yoctoproject.org <[email protected]> wrote: > > Hi Adrien, > > > I'm really new in building container with OE but did you have a look at: > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsavoirfairelinux%2Fmeta-embedded-containers%2Fblob%2Fmain%2Frecipes-support%2Fcontainer-image%2Fcontainer-archive.bb&data=05%7C01%7Cadrian.dudau%40keyfactor.com%7C1dc25be4c8cd442e650608db402e453d%7Cc9ed4b459f70418aaa58f04c80848ca9%7C0%7C0%7C638174339727214337%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=g0%2Fz%2Fv8k%2FkKJsTU04o7AzxCfE5Lx%2FQUQfpM0WenBHGY%3D&reserved=0<https://github.com/savoirfairelinux/meta-embedded-containers/blob/main/recipes-support/container-image/container-archive.bb> Sorry I tried to use the web interface tool, but this didn't make a proper inline reply :( > > > Regards, > Clement > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7999): https://lists.yoctoproject.org/g/meta-virtualization/message/7999 Mute This Topic: https://lists.yoctoproject.org/mt/98055400/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
