Fedora ISO Modernization (HMS-9965)#2533
Merged
Merged
Conversation
Plumb through the `remove` option from the stage to exclude given files from the initramfs. This is used to build Anaconda installers without involving Lorax. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Set the default target with our systemd stage when there's no Lorax package selected. This puts us into non-Lorax mode and thus we have to set the default target ourselves. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Lorax removes several systemd generators from the filesystem tree so they don't end up in the ISO. These can interfere with the boot process as they don't correctly search for the ISO-labelled filesystem. Thus, when no Lorax template is defined we handle the removal ourselves. In this case we don't remove them from the root filesystem but instead instruct Dracut to remove the files only from the initrd. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Allow for the definition of ISO rootfs excludes in the YAML definitions where it makes sense. Move others out of the pipeline generator and into the image function(s) specific to those image types for others (`bootc`, `pxe`). The latter few will require some more thought on where to source the values from. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
supakeen
force-pushed
the
no-lorax-snek
branch
2 times, most recently
from
July 20, 2026 08:52
e854d72 to
736cef5
Compare
supakeen
marked this pull request as ready for review
July 20, 2026 08:53
Keep the RPM and DNF metadata on the image. They're tiny size-wise and make debugging installed packages (without a Lorax-packages file) straightforward. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Don't define a Lorax template package for Fedora >= 45. This turns off any Lorax stages in `image-builder`'s generated manifest. Producing an ISO entirely without invoking Lorax. See this [1] change proposal for the motivation. [1]: https://fedoraproject.org/wiki/Changes/ModernizeBootISO Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
croissanne
approved these changes
Jul 20, 2026
croissanne
left a comment
Member
There was a problem hiding this comment.
makes sense to move the excludes to the image defs. thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the implementation of the Fedora 45 change proposal 1 which drops the use of Lorax to create
boot.iso-style media in Fedora 45.Behavior is gated on the definition of
LoraxTemplatePackage. If it is not present we perform certain steps that Lorax used to perform ourselves albeit it being a much more minimal set of actions (see the documentation section of the change proposal for the steps).Some of the steps we already performed unconditionally so these are untouched (user creation, selinux permissions).
Some bits aren't the nicest, especially the handling of root filesystem excludes for non-installer image types (
bootcandpxe). I'd like to leave that for a follow-up as it isn't strictly worse but might require some more foundational changes to root filesystem options and configs.