Skip to content

Write the runtime boot config for every distribution that defines one. - #125

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_990491117
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_990491117

Conversation

@copybara-service

Copy link
Copy Markdown

Write the runtime boot config for every distribution that defines one.

Distributions with a config server and configs now fetch their config and write it to
the provisioned media, not only FFU distributions. FFU distributions keep writing
startimage.yaml; other distributions write bootconfig.yaml. writeConfig removes the other
mode's file before writing, so a stale file cannot change the boot mode.

Adds Configuration.NeedsConfig, and config.New is now the only place where an empty
--conf_track defaults to the image track.

Distributions with a config server and configs now fetch their config and write it to
the provisioned media, not only FFU distributions. FFU distributions keep writing
startimage.yaml; other distributions write bootconfig.yaml. writeConfig removes the other
mode's file before writing, so a stale file cannot change the boot mode.

Adds Configuration.NeedsConfig, and config.New is now the only place where an empty
--conf_track defaults to the image track.

PiperOrigin-RevId: 990491117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant