Is it possible to add packages from module streams in Image Builder

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux 8
  • cockpit-composer
  • lorax-composer
  • osbuild-composer

Issue

I would like to create an image with image builder by adding a package that depends on the packages that resides in module stream, but image build process throws an error

Resolution

cockpit-composer interface uses osbuild-composer (formerly lorax-composer) as a backend service to create images, so the build process completely depends on the support of module streams in osbuild-composer.
Unfortunately currently osbuild-composer does not support packages installation from the module streams.

Root Cause

Red Hat is aware of this issue. Bugzilla link:
BZ 1882259 - Osbuild-composer (lorax-composer) do not support adding packages from non-default streams

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments