Skip to content

Comments

flatcar-update: Support flag to skip providing OEM payloads#114

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/oem-optional
Feb 1, 2024
Merged

flatcar-update: Support flag to skip providing OEM payloads#114
pothos merged 1 commit intoflatcar-masterfrom
kai/oem-optional

Conversation

@pothos
Copy link
Member

@pothos pothos commented Jan 25, 2024

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-update didn't change but when sudo ./flatcar-update -V 3850.0.0 -O no was used, it did not provide the Omaha OEM entry and didn't download the file to /var/tmp/flatcar-update/.

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.
@pothos pothos requested a review from a team January 31, 2024 19:17
@pothos pothos merged commit 7e30bf5 into flatcar-master Feb 1, 2024
@pothos pothos deleted the kai/oem-optional branch February 1, 2024 18:26
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.
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