Skip to content

disable in-place updates for dev variants#4765

Open
bcressey wants to merge 2 commits intobottlerocket-os:developfrom
bcressey:no-updates-for-dev
Open

disable in-place updates for dev variants#4765
bcressey wants to merge 2 commits intobottlerocket-os:developfrom
bcressey:no-updates-for-dev

Conversation

@bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
Split updates-related defaults into a separate file included by all variants.

Adjust feature flags, defaults, and plugin for *-dev to disable in-place updates and remove all implicit references to that functionality.

This simplifies testing for variants that don't support in-place updates.

Testing done:
Built aws-dev. Verified that it booted correctly and that no updates-related settings were available.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Moving defaults to a separate file allows updates to be disabled for
certain variants, to facilitate testing.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
The "dev" variants are not published (or supported), so in-place
updates won't be available.

Disabling this functionality makes it easier to test some scenarios.
For example, `pcrsys` will generate additional PCR predictions for a
variant at build time if in-place updates are disabled.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
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