Skip to content

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

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/sysext-oem-update
Sep 8, 2023
Merged

kola: Add new OEM sysext update and migration test#448
pothos merged 1 commit intoflatcar-masterfrom
kai/sysext-oem-update

Conversation

@pothos
Copy link
Copy Markdown
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.
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