Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kola: Add new OEM sysext update and migration test #448

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

pothos
Copy link
Member

@pothos pothos commented Sep 4, 2023

The A/B updated OEM systemd-sysext image gets activated when both /usr partitions have updated to a version that requires a sysext image. The old OEM contents get cleaned in this migration that happens on the boot after the final update.
Test this migration and update logic by starting from an old image that isn't migrated, and emulate an OEM setup that requires an OEM sysext image now. The update first happens with the inbuilt Omaha kolet server which uses the fallback logic but then flatcar-update is used for the second update to supply the OEM payload directly.

How to use

See scripts PR: flatcar/scripts#1016

Testing done

Manual and on Jenkins

The A/B updated OEM systemd-sysext image gets activated when both /usr
partitions have updated to a version that requires a sysext image. The
old OEM contents get cleaned in this migration that happens on the boot
after the final update.
Test this migration and update logic by starting from an old image that
isn't migrated, and emulate an OEM setup that requires an OEM sysext
image now. The update first happens with the inbuilt Omaha kolet server
which uses the fallback logic but then flatcar-update is used for the
second update to supply the OEM payload directly.
@pothos pothos merged commit a30be60 into flatcar-master Sep 8, 2023
2 checks passed
@pothos pothos deleted the kai/sysext-oem-update branch September 8, 2023 12:46
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.

2 participants