Bug 9502 - Add a way to build container images using oe-core
Summary: Add a way to build container images using oe-core
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: High enhancement
Target Milestone: 2.3 M3
Assignee: Randy Witt
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on: 10883
Blocks: 9503
  Show dependency tree
 
Reported: 2016-04-21 16:21 UTC by Randy Witt
Modified: 2017-02-25 20:27 UTC (History)
11 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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