Repository navigation
el9/10: parity bits - #2659
el9/10: parity bits#2659
Conversation
Previously produced container for CentOS 9 and 10 did not include weak dependencies. Including them pulls in a whole chain of packages (see [1]). Turning it off again seems uncontroversial so let's do that. [1]: osbuild#2658 Signed-off-by: Simon de Vlieger <[email protected]>
Set the install_langs macro during installation so that we don't install various language packs that increase container image size. Signed-off-by: Simon de Vlieger <[email protected]>
Add a Go wrapper for the org.osbuild.rpm.macros stage. This stage allows writing files in the appropriate format for RPM macros and we want to use it to write some things into the CentOS containers. Signed-off-by: Simon de Vlieger <[email protected]>
Allow configuring RPM macros to be persisted into an image. This is *slightly* awkward since the `_install_langs` macro can now be set in two places one that only affects build time, and one that only affects the built image. We can consolidate that later. Signed-off-by: Simon de Vlieger <[email protected]>
Plumb the RPM macros stage through to the manifest generation parts of the code. Signed-off-by: Simon de Vlieger <[email protected]>
Persist the RPM install_langs macro in the created container image by writing it. Signed-off-by: Simon de Vlieger <[email protected]>
d35616f to
a08f9d4
Compare
achilleas-k
left a comment
There was a problem hiding this comment.
Allow configuring RPM macros to be persisted into an image. This is slightly awkward since the
_install_langsmacro can now be set in two places one that only affects build time, and one that only affects the built image.We can consolidate that later.
I assume we're in a hurry with these? Let's make sure to clean it up, it's a bit weird I agree.
There was a problem hiding this comment.
Oh wow, this stage is ancient. How did we not have it until now?
There was a problem hiding this comment.
We never actually needed it but I'm happy it exists 🙂
Yep, relative hurry I definitely want to revisit it so I'll file an issue to track it. |
Previously produced container for CentOS 9 and 10 did not include weak dependencies. Including them pulls in a whole chain of packages (see 1). Turning it off again seems uncontroversial so let's do that.
Also add the
install_langsmacro during build time to make sure we don't include additional languages.Also persist the
install_langsmacro in the built image.