Skip to content

config: parse default mkosi-tools and mkosi-initrd before parsing use… - #4367

Closed
behrmann wants to merge 1 commit into
systemd:mainfrom
behrmann:initrdpackages
Closed

config: parse default mkosi-tools and mkosi-initrd before parsing use…#4367
behrmann wants to merge 1 commit into
systemd:mainfrom
behrmann:initrdpackages

Conversation

@behrmann

Copy link
Copy Markdown
Contributor

…r config

In finalize_default_tools and finalize_default_initrd mkosi-tools and mkosi-initrd were parsed last respectively, that is after parsing config from the CLI, mkosi.conf, and mkosi.{tools,initrd}.conf.

When trying to add buildstream as a supported distribution, setting an empty packages list in the mkosi-initrd resources, would then overwrite all initrd packages, so that none could be set. A similar problem would be encountered for tools trees.

…r config

In finalize_default_tools and finalize_default_initrd mkosi-tools and
mkosi-initrd were parsed last respectively, that is after parsing config from
the CLI, mkosi.conf, and mkosi.{tools,initrd}.conf.

When trying to add buildstream as a supported distribution, setting an empty
packages list in the mkosi-initrd resources, would then overwrite all initrd
packages, so that none could be set. A similar problem would be encountered for
tools trees.
@behrmann behrmann closed this Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant