flatcar-update: Support flag to skip providing OEM payloads#114
Merged
pothos merged 1 commit intoflatcar-masterfrom Feb 1, 2024
Merged
flatcar-update: Support flag to skip providing OEM payloads#114pothos merged 1 commit intoflatcar-masterfrom
pothos merged 1 commit intoflatcar-masterfrom
Conversation
The required use of OEM payloads can be problematic when trying to downgrade, or for testing the fallback case. Add a flag to skip providing OEM payloads. This also allows us to backport the support for OEM payloads to LTS, by switching the default behavior of the flag to "no".
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Jan 25, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
2 tasks
krnowak
approved these changes
Feb 1, 2024
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Feb 1, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Feb 1, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Feb 1, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Feb 1, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
pothos
added a commit
to flatcar/scripts
that referenced
this pull request
Feb 1, 2024
This pulls in flatcar/init#114 to support a flag to skip providing OEM payloads, with the goal of easing downgrades to non-sysext-OEM releases or, when backported to LTS with the default behavior switched, to opt-in to OEM payloads for airgapped updates that can't use the fallback download.
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.
The required use of OEM payloads can be problematic when trying to downgrade, or for testing the fallback case.
Add a flag to skip providing OEM payloads. This also allows us to backport the support for OEM payloads to LTS, by switching the default behavior of the flag to "no".
How to use
Backport to LTS together will all previous changes to align the script contents
Testing done
The default behavior of
flatcar-updatedidn't change but whensudo ./flatcar-update -V 3850.0.0 -O nowas used, it did not provide the Omaha OEM entry and didn't download the file to/var/tmp/flatcar-update/.