Bug 9502

Summary: Add a way to build container images using oe-core
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Randy Witt <randy.e.witt>
Component: coreAssignee: Randy Witt <randy.e.witt>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: enhancement    
Priority: High CC: jose.perez.carranza, joshuagloe, juro.bystricky, meta.mr.watcher, meta.watcher, pokylinux, randy.macleod, ross.burton, sgw, tim.orling, twoerner
Version: 2.1   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 10883    
Bug Blocks: 9503    

Description Randy Witt 2016-04-21 16:21:21 UTC
We need to add a way to build "container images" using oe-core. A "container image" in its simplest form can be defined as an image that doesn't contain a kernel and is a tarball.

This will allow for the image to be used via chroot or more sophisticated containerization such as docker.
Comment 2 Juro Bystricky 2017-02-25 20:27:44 UTC
I am closing this as resolved/fixed as all three patches submitted to the mailing list have been merged with master:

selftest/containerimage.py: Add container IMAGE_FSTYPES test:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=23bd7e100adb6dc06c4992ff5863f01d0b39e75b

image-container.bbclass: Error if not using linux-dummy:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5da9c1c38b31c5edb957ad22fd093c9bc3a2ecd7

image-container.bbclass: Add the "container" IMAGE_FSTYPES:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1b8f485c2431582abd5f709ea4cc919477bec97b