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

🐛 Move kairos vars to their own file #2908

Merged
merged 6 commits into from
Oct 8, 2024
Merged

🐛 Move kairos vars to their own file #2908

merged 6 commits into from
Oct 8, 2024

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Oct 1, 2024

Otherwise when creating derivatives, the upgrades can overwrite the existing kairos release info adn break the whole thing.

This patch adds the variables into a new /]etc/kairos-release file, as well as keeping them in the usual /etc/os-release file for backwards compatibility

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Part of: #2907

Otherwise when creating derivatives, the upgrades can overwrite the
existing kairos release info adn break the whole thing.

This patch adds the variables into a new /]etc/kairos-release file, as
well as keeping them in the usual /etc/os-release file for backwards
compatibility

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team October 1, 2024 08:36
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka added the blocked label Oct 1, 2024
Signed-off-by: Itxaka <itxaka@kairos.io>
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka
Copy link
Member Author

Itxaka commented Oct 1, 2024

This needs an updated agent bundled with the changes in order to work

@Itxaka
Copy link
Member Author

Itxaka commented Oct 7, 2024

New framework image should be built to test this with changes to:

  • immucore
  • sdk
  • agent
  • packages

@Itxaka Itxaka removed the blocked label Oct 7, 2024
@Itxaka
Copy link
Member Author

Itxaka commented Oct 7, 2024

Welp, seems to work? Wtf.

Okay, cutting new framework and os builder version

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka
Copy link
Member Author

Itxaka commented Oct 8, 2024

Now ready to be reviewed finally :D

@Itxaka Itxaka merged commit 5c6eea4 into master Oct 8, 2024
66 checks passed
@Itxaka Itxaka deleted the kairos-version branch October 8, 2024 16:10
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.

3 participants