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 "recovery" to "active" on reset #232

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Move "recovery" to "active" on reset #232

merged 2 commits into from
Feb 21, 2024

Conversation

jimmykarily
Copy link
Contributor

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@jimmykarily
Copy link
Contributor Author

[  114.886782] EXT4-fs (dm-0): unmounting filesystem 9b2b734b-0244-4ed2-8f3e-ef1e94e07035.
INFO[2024-02-20T15:54:18Z] Formatting 'COS_PERSISTENT' partition        
ERRO[2024-02-20T15:54:20Z] failed to reset uki: 1 error occurred:
	* copying recovery to active: deleting role active: remove /efi/EFI/kairos/active.efi: read-only file system
 
1 error occurred:
	* copying recovery to active: deleting role active: remove /efi/EFI/kairos/active.efi: read-only file system

something needs to be mounted rw before the reset (?)

Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (8c353a9) 57.19% compared to head (ca84f82) 57.05%.

Files Patch % Lines
pkg/config/spec.go 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
- Coverage   57.19%   57.05%   -0.14%     
==========================================
  Files          38       38              
  Lines        5011     5023      +12     
==========================================
  Hits         2866     2866              
- Misses       1901     1913      +12     
  Partials      244      244              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@jimmykarily
Copy link
Contributor Author

[  114.886782] EXT4-fs (dm-0): unmounting filesystem 9b2b734b-0244-4ed2-8f3e-ef1e94e07035.
INFO[2024-02-20T15:54:18Z] Formatting 'COS_PERSISTENT' partition        
ERRO[2024-02-20T15:54:20Z] failed to reset uki: 1 error occurred:
	* copying recovery to active: deleting role active: remove /efi/EFI/kairos/active.efi: read-only file system
 
1 error occurred:
	* copying recovery to active: deleting role active: remove /efi/EFI/kairos/active.efi: read-only file system

something needs to be mounted rw before the reset (?)

fixed

@jimmykarily jimmykarily marked this pull request as ready for review February 20, 2024 16:18
@jimmykarily jimmykarily requested a review from a team February 20, 2024 16:18
@jimmykarily jimmykarily self-assigned this Feb 20, 2024
@jimmykarily jimmykarily merged commit cce4321 into main Feb 21, 2024
8 of 9 checks passed
@jimmykarily jimmykarily deleted the 2051-uki-reset branch February 21, 2024 08:27
mauromorales referenced this pull request in kairos-io/provider-kairos Apr 18, 2024
….1 (#506)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/kairos-io/kairos-agent/v2](https://togithub.com/kairos-io/kairos-agent)
| `v2.4.5` -> `v2.9.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.4.5/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.4.5/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kairos-io/kairos-agent
(github.com/kairos-io/kairos-agent/v2)</summary>

###
[`v2.9.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.9.1)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.9.0...v2.9.1)

#### What's Changed

- Remove config show in favor of parent command by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/281](https://togithub.com/kairos-io/kairos-agent/pull/281)
- added null-logger to render-template command by
[@&#8203;Akvanvig](https://togithub.com/Akvanvig) in
[https://github.com/kairos-io/kairos-agent/pull/282](https://togithub.com/kairos-io/kairos-agent/pull/282)
- 2281 - target manually partitioned disk by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/235](https://togithub.com/kairos-io/kairos-agent/pull/235)
- Fix building under 1.19 by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/284](https://togithub.com/kairos-io/kairos-agent/pull/284)
- Update dependency
[@&#8203;fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free)
to v6.5.2 by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/285](https://togithub.com/kairos-io/kairos-agent/pull/285)
- Update dependency alpinejs to v3.13.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/286](https://togithub.com/kairos-io/kairos-agent/pull/286)
- Enable debug mode from different places by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/287](https://togithub.com/kairos-io/kairos-agent/pull/287)
- Keep logs after reset by [@&#8203;Itxaka](https://togithub.com/Itxaka)
in
[https://github.com/kairos-io/kairos-agent/pull/288](https://togithub.com/kairos-io/kairos-agent/pull/288)
- Move the Image() filtering to kairos-sdk by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/292](https://togithub.com/kairos-io/kairos-agent/pull/292)
- Fix url when manual install by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/289](https://togithub.com/kairos-io/kairos-agent/pull/289)
- Bump golang.org/x/image from 0.0.0-20191206065243-da761ea9ff43 to
0.10.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kairos-io/kairos-agent/pull/276](https://togithub.com/kairos-io/kairos-agent/pull/276)
- Update dependency cypress to v13 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/256](https://togithub.com/kairos-io/kairos-agent/pull/256)
- Bump github.com/docker/docker from 24.0.0+incompatible to
24.0.9+incompatible by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kairos-io/kairos-agent/pull/273](https://togithub.com/kairos-io/kairos-agent/pull/273)
- Expand source error by [@&#8203;Itxaka](https://togithub.com/Itxaka)
in
[https://github.com/kairos-io/kairos-agent/pull/293](https://togithub.com/kairos-io/kairos-agent/pull/293)
- Update dependabot/fetch-metadata action to v1.7.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/294](https://togithub.com/kairos-io/kairos-agent/pull/294)
- Update module github.com/kairos-io/kairos-sdk to v0.1.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/295](https://togithub.com/kairos-io/kairos-agent/pull/295)
- Update dependabot/fetch-metadata action to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/297](https://togithub.com/kairos-io/kairos-agent/pull/297)
- Update module github.com/labstack/echo/v4 to v4.12.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/296](https://togithub.com/kairos-io/kairos-agent/pull/296)
- Update module golang.org/x/oauth2 to v0.19.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/268](https://togithub.com/kairos-io/kairos-agent/pull/268)
- Build web dependencies before producing release artifacts by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/300](https://togithub.com/kairos-io/kairos-agent/pull/300)
- Update module github.com/kairos-io/kairos-sdk to v0.1.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/301](https://togithub.com/kairos-io/kairos-agent/pull/301)

#### New Contributors

- [@&#8203;Akvanvig](https://togithub.com/Akvanvig) made their first
contribution in
[https://github.com/kairos-io/kairos-agent/pull/282](https://togithub.com/kairos-io/kairos-agent/pull/282)
- [@&#8203;dependabot](https://togithub.com/dependabot) made their first
contribution in
[https://github.com/kairos-io/kairos-agent/pull/276](https://togithub.com/kairos-io/kairos-agent/pull/276)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.11...v2.9.1

###
[`v2.9.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.9.0)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.11...v2.9.0)

#### What's Changed

- Fix building under 1.19 by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/284](https://togithub.com/kairos-io/kairos-agent/pull/284)
- Update dependency
[@&#8203;fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free)
to v6.5.2 by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/285](https://togithub.com/kairos-io/kairos-agent/pull/285)
- Update dependency alpinejs to v3.13.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/286](https://togithub.com/kairos-io/kairos-agent/pull/286)
- Enable debug mode from different places by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/287](https://togithub.com/kairos-io/kairos-agent/pull/287)
- Keep logs after reset by [@&#8203;Itxaka](https://togithub.com/Itxaka)
in
[https://github.com/kairos-io/kairos-agent/pull/288](https://togithub.com/kairos-io/kairos-agent/pull/288)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.11...v2.9.0

###
[`v2.8.11`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.11)

#### Changelog

-
[`0283b7b`](https://togithub.com/kairos-io/kairos-agent/commit/0283b7b)
Enable debug mode from different places
([#&#8203;287](https://togithub.com/kairos-io/kairos-agent/issues/287))
-
[`c9a7e98`](https://togithub.com/kairos-io/kairos-agent/commit/c9a7e98)
Keep logs after reset
([#&#8203;288](https://togithub.com/kairos-io/kairos-agent/issues/288))

###
[`v2.8.9`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.9)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.8...v2.8.9)

#### What's Changed

- Bump sdk by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/269](https://togithub.com/kairos-io/kairos-agent/pull/269)
- Return only image (skipping sbom, img, etc) by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/279](https://togithub.com/kairos-io/kairos-agent/pull/279)
- Bump sdk by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/280](https://togithub.com/kairos-io/kairos-agent/pull/280)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.8...v2.8.9

###
[`v2.8.8`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.8)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.7...v2.8.8)

#### What's Changed

- Bad refactoring, these should be active not cos by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/278](https://togithub.com/kairos-io/kairos-agent/pull/278)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.7...v2.8.8

###
[`v2.8.7`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.7)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.6...v2.8.7)

#### What's Changed

- Fix bootentry by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/277](https://togithub.com/kairos-io/kairos-agent/pull/277)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.6...v2.8.7

###
[`v2.8.6`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.6)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.5...v2.8.6)

#### What's Changed

- chore(deps): update codecov/codecov-action action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/253](https://togithub.com/kairos-io/kairos-agent/pull/253)
- chore(deps): update actions/setup-go action to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/252](https://togithub.com/kairos-io/kairos-agent/pull/252)
- fix(deps): update dependency
[@&#8203;fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free)
to v6.5.1 by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/210](https://togithub.com/kairos-io/kairos-agent/pull/210)
- Bump to use vfs4 by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/240](https://togithub.com/kairos-io/kairos-agent/pull/240)
- fix(deps): update xterm monorepo by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/115](https://togithub.com/kairos-io/kairos-agent/pull/115)
- fix(deps): update github.com/mudler/go-processmanager digest to
[`f204007`](https://togithub.com/kairos-io/kairos-agent/commit/f204007)
by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/136](https://togithub.com/kairos-io/kairos-agent/pull/136)
- fix(deps): update module github.com/urfave/cli/v2 to v2.27.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/255](https://togithub.com/kairos-io/kairos-agent/pull/255)
- fix(deps): update module github.com/spf13/viper to v1.18.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/254](https://togithub.com/kairos-io/kairos-agent/pull/254)
- fix(deps): update dependency alpinejs to v3.13.7 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/258](https://togithub.com/kairos-io/kairos-agent/pull/258)
- fix(deps): update dependency bootstrap to v5.3.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/259](https://togithub.com/kairos-io/kairos-agent/pull/259)
- Retry unlock if we cant find the unlocked partitions by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/241](https://togithub.com/kairos-io/kairos-agent/pull/241)
- Fix chroot not opening and closing properly by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/261](https://togithub.com/kairos-io/kairos-agent/pull/261)
- Add a scanner for config with nulllogger by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/262](https://togithub.com/kairos-io/kairos-agent/pull/262)
- Converge all yaml libs into v3 by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/266](https://togithub.com/kairos-io/kairos-agent/pull/266)
- Add an autoreset entry by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/267](https://togithub.com/kairos-io/kairos-agent/pull/267)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.5...v2.8.6

###
[`v2.8.5`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.5)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.4...v2.8.5)

#### What's Changed

- After upgrade or recovery, set bootentry to "cos" by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/251](https://togithub.com/kairos-io/kairos-agent/pull/251)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.4...v2.8.5

###
[`v2.8.4`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.4)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.3...v2.8.4)

#### What's Changed

- Mount efi partition if not mounted for bootentries by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/250](https://togithub.com/kairos-io/kairos-agent/pull/250)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.3...v2.8.4

###
[`v2.8.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.3)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.2...v2.8.3)

#### What's Changed

- Fix bootentries grub in opensuse by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/249](https://togithub.com/kairos-io/kairos-agent/pull/249)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.2...v2.8.3

###
[`v2.8.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.2)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.1...v2.8.2)

#### What's Changed

- Use existing role names for bootentry command on UKI by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/247](https://togithub.com/kairos-io/kairos-agent/pull/247)
- Log errors in the kairos-agent log files by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/248](https://togithub.com/kairos-io/kairos-agent/pull/248)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.1...v2.8.2

###
[`v2.8.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.1)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.0...v2.8.1)

#### What's Changed

- Run after reset hook when resetting in UKI mode by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/245](https://togithub.com/kairos-io/kairos-agent/pull/245)
- Add a check for livemedia when running upgrade by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/242](https://togithub.com/kairos-io/kairos-agent/pull/242)

**Full Changelog**:
kairos-io/kairos-agent@v2.8.0...v2.8.1

###
[`v2.8.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.0)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.17...v2.8.0)

#### What's Changed

- Add UKI functionlity to replace titles by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/246](https://togithub.com/kairos-io/kairos-agent/pull/246)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.17...v2.8.0

###
[`v2.7.17`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.17)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.16...v2.7.17)

#### What's Changed

- Try to print more info about the boott mode when loading the config by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/243](https://togithub.com/kairos-io/kairos-agent/pull/243)
- Make sure kcrypt hook umounts persistent by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/244](https://togithub.com/kairos-io/kairos-agent/pull/244)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.16...v2.7.17

###
[`v2.7.16`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.16)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.15...v2.7.16)

#### What's Changed

- Use new logger facilities by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/236](https://togithub.com/kairos-io/kairos-agent/pull/236)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.15...v2.7.16

###
[`v2.7.15`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.15)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.14...v2.7.15)

#### What's Changed

- Bump SDK to 0.0.26 by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/238](https://togithub.com/kairos-io/kairos-agent/pull/238)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.14...v2.7.15

###
[`v2.7.14`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.14)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.13...v2.7.14)

#### What's Changed

- fix(after-install): run after-install hook after partitions are
encrypted by [@&#8203;mudler](https://togithub.com/mudler) in
[https://github.com/kairos-io/kairos-agent/pull/237](https://togithub.com/kairos-io/kairos-agent/pull/237)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.13...v2.7.14

###
[`v2.7.13`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.13)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.12...v2.7.13)

#### What's Changed

- Implement uki "kairos-agent upgrade --recovery" by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/231](https://togithub.com/kairos-io/kairos-agent/pull/231)
- Move "recovery" to "active" on reset by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/232](https://togithub.com/kairos-io/kairos-agent/pull/232)
- Add shim to choose next entry to boot from by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/230](https://togithub.com/kairos-io/kairos-agent/pull/230)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.12...v2.7.13

###
[`v2.7.12`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.12)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.11...v2.7.12)

#### What's Changed

- 2226 detect boot state by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/229](https://togithub.com/kairos-io/kairos-agent/pull/229)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.11...v2.7.12

###
[`v2.7.11`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.11)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.10...v2.7.11)

#### What's Changed

- fix(mount): check if path is mounted and create /run/initramfs/live if
doesn't exist by [@&#8203;mudler](https://togithub.com/mudler) in
[https://github.com/kairos-io/kairos-agent/pull/226](https://togithub.com/kairos-io/kairos-agent/pull/226)
- fix: do not try to create a dir by
[@&#8203;mudler](https://togithub.com/mudler) in
[https://github.com/kairos-io/kairos-agent/pull/227](https://togithub.com/kairos-io/kairos-agent/pull/227)
- Adapt uki install to new rootfsbase by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/228](https://togithub.com/kairos-io/kairos-agent/pull/228)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.10...v2.7.11

###
[`v2.7.10`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.10)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.9...v2.7.10)

#### What's Changed

- Add default system config dir by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/223](https://togithub.com/kairos-io/kairos-agent/pull/223)
- Bring uki install up to par with immucore by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/225](https://togithub.com/kairos-io/kairos-agent/pull/225)
- Read /system/oem config by
[@&#8203;mauromorales](https://togithub.com/mauromorales) in
[https://github.com/kairos-io/kairos-agent/pull/224](https://togithub.com/kairos-io/kairos-agent/pull/224)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.9...v2.7.10

###
[`v2.7.9`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.9)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.8...v2.7.9)

#### What's Changed

- Fix object dumping by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/222](https://togithub.com/kairos-io/kairos-agent/pull/222)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.8...v2.7.9

###
[`v2.7.8`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.8)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.7...v2.7.8)

#### What's Changed

- Add reset for uki by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/221](https://togithub.com/kairos-io/kairos-agent/pull/221)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.7...v2.7.8

###
[`v2.7.7`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.7)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.6...v2.7.7)

#### What's Changed

- Fix uki upgade path by [@&#8203;Itxaka](https://togithub.com/Itxaka)
in
[https://github.com/kairos-io/kairos-agent/pull/219](https://togithub.com/kairos-io/kairos-agent/pull/219)
- Remove the proper interactive-install entry by default by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/220](https://togithub.com/kairos-io/kairos-agent/pull/220)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.6...v2.7.7

###
[`v2.7.6`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.6)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.5...v2.7.6)

#### What's Changed

- fix(deps): update dependency alpinejs to v3.13.5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/209](https://togithub.com/kairos-io/kairos-agent/pull/209)
- \[interactive-install] Do not show devices that cant be used by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/212](https://togithub.com/kairos-io/kairos-agent/pull/212)
- \[uki] Remove entries on install by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/213](https://togithub.com/kairos-io/kairos-agent/pull/213)
- \[uki] Set proper partition size based on the source by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/214](https://togithub.com/kairos-io/kairos-agent/pull/214)
- \[uki] Wait for oem to appear after encryption by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/216](https://togithub.com/kairos-io/kairos-agent/pull/216)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.5...v2.7.6

###
[`v2.7.5`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.5)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.4...v2.7.5)

#### What's Changed

- fix(deps): update module github.com/distribution/distribution to
v2.8.3+incompatible by [@&#8203;renovate](https://togithub.com/renovate)
in
[https://github.com/kairos-io/kairos-agent/pull/191](https://togithub.com/kairos-io/kairos-agent/pull/191)
- fix(deps): update module github.com/nxadm/tail to v1.4.11 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/194](https://togithub.com/kairos-io/kairos-agent/pull/194)
- Bump kcrypt by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/208](https://togithub.com/kairos-io/kairos-agent/pull/208)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.4...v2.7.5

###
[`v2.7.4`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.4)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.3...v2.7.4)

#### What's Changed

- feat(uki-partitioning-hook): respect additional encrypted partition
list by [@&#8203;mudler](https://togithub.com/mudler) in
[https://github.com/kairos-io/kairos-agent/pull/206](https://togithub.com/kairos-io/kairos-agent/pull/206)

#### New Contributors

- [@&#8203;mudler](https://togithub.com/mudler) made their first
contribution in
[https://github.com/kairos-io/kairos-agent/pull/206](https://togithub.com/kairos-io/kairos-agent/pull/206)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.3...v2.7.4

###
[`v2.7.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.3)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.2...v2.7.3)

#### What's Changed

- Restore partitions config from cloudconfig by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/204](https://togithub.com/kairos-io/kairos-agent/pull/204)
- Fix --source flag by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/205](https://togithub.com/kairos-io/kairos-agent/pull/205)
- Fix device auto flag on uki by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/207](https://togithub.com/kairos-io/kairos-agent/pull/207)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.2...v2.7.3

###
[`v2.7.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.2)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.1...v2.7.2)

#### What's Changed

- Add 1.19 go to test matrix by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/201](https://togithub.com/kairos-io/kairos-agent/pull/201)
- reuse same base image across all targets by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/202](https://togithub.com/kairos-io/kairos-agent/pull/202)
- Add workaround for secureboot ubuntu flavor by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/203](https://togithub.com/kairos-io/kairos-agent/pull/203)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.1...v2.7.2

###
[`v2.7.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.1)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.0...v2.7.1)

#### What's Changed

- Remove cutSuffix as its go >=1.20 only by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/200](https://togithub.com/kairos-io/kairos-agent/pull/200)

**Full Changelog**:
kairos-io/kairos-agent@v2.7.0...v2.7.1

###
[`v2.7.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.0)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.3...v2.7.0)

#### What's Changed

- Copy grub+shim from the rootfs especific paths by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/189](https://togithub.com/kairos-io/kairos-agent/pull/189)

**Full Changelog**:
kairos-io/kairos-agent@v2.6.3...v2.7.0

###
[`v2.6.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.3)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.2...v2.6.3)

#### Changelog

-
[`9a8c404`](https://togithub.com/kairos-io/kairos-agent/commit/9a8c404)
Add "--all" flag to list-releases to print older releases too
-
[`53f4916`](https://togithub.com/kairos-io/kairos-agent/commit/53f4916)
Fix uki mode detection
([#&#8203;198](https://togithub.com/kairos-io/kairos-agent/issues/198))
-
[`174d69c`](https://togithub.com/kairos-io/kairos-agent/commit/174d69c)
Merge uki upgrade into the normal upgrade command
([#&#8203;197](https://togithub.com/kairos-io/kairos-agent/issues/197))
-
[`775756f`](https://togithub.com/kairos-io/kairos-agent/commit/775756f)
Run install off the same command
([#&#8203;196](https://togithub.com/kairos-io/kairos-agent/issues/196))

###
[`v2.6.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.2)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.1...v2.6.2)

Allow downgrading of k3s when upgrading at least Kairos version

This is because we may cut an rc of Kairos that bumps k3s and then we
decide that we don't want that in the stable release so we revert to the
old k3s version. Users should see the newer version of Kairos, even
though the k3s version is lower than the one in the rc.

###
[`v2.6.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.1)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.0...v2.6.1)

#### What's Changed

- Update dependency alpinejs to v3.13.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/167](https://togithub.com/kairos-io/kairos-agent/pull/167)
- Update module github.com/google/go-containerregistry to v0.17.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/116](https://togithub.com/kairos-io/kairos-agent/pull/116)
- Update dependency codemirror to v5.65.16 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/190](https://togithub.com/kairos-io/kairos-agent/pull/190)
- Update module github.com/labstack/echo/v4 to v4.11.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/192](https://togithub.com/kairos-io/kairos-agent/pull/192)
- Update module github.com/mudler/yip to v1.4.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/193](https://togithub.com/kairos-io/kairos-agent/pull/193)
- Bump kairos-sdk by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/195](https://togithub.com/kairos-io/kairos-agent/pull/195)

**Full Changelog**:
kairos-io/kairos-agent@v2.6.0...v2.6.1

###
[`v2.6.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.0)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.5.1...v2.6.0)

#### What's Changed

- Encrypt uki partitions after install by
[@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/176](https://togithub.com/kairos-io/kairos-agent/pull/176)
- Update github.com/kairos-io/kcrypt digest to
[`12a8d5d`](https://togithub.com/kairos-io/kairos-agent/commit/12a8d5d)
by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/183](https://togithub.com/kairos-io/kairos-agent/pull/183)
- Bump the kairos-sdk to get the latest changes regarding versioneer by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/184](https://togithub.com/kairos-io/kairos-agent/pull/184)
- Update module github.com/kairos-io/kcrypt to v0.8.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/185](https://togithub.com/kairos-io/kairos-agent/pull/185)
- Uki upgrade by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/182](https://togithub.com/kairos-io/kairos-agent/pull/182)
- UKI improvements by [@&#8203;Itxaka](https://togithub.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/186](https://togithub.com/kairos-io/kairos-agent/pull/186)
- Bump the kairos-sdk to use quoted os-release variables by
[@&#8203;jimmykarily](https://togithub.com/jimmykarily) in
[https://github.com/kairos-io/kairos-agent/pull/188](https://togithub.com/kairos-io/kairos-agent/pull/188)

**Full Changelog**:
kairos-io/kairos-agent@v2.5.0...v2.6.0

###
[`v2.5.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.5.1)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.5.0...v2.5.1)

**Full Changelog**:
kairos-io/kairos-agent@v2.5.0...v2.5.1

###
[`v2.5.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.4.5...v2.5.0)

#### Changelog

-
[`44d363f`](https://togithub.com/kairos-io/kairos-agent/commit/44d363f)
Consume a tagged kairos-sdk version
-
[`00ce75b`](https://togithub.com/kairos-io/kairos-agent/commit/00ce75b)
Deprecate positional argument and cleanup unused code
-
[`691224a`](https://togithub.com/kairos-io/kairos-agent/commit/691224a)
Deprecate positional version in `kairos-agent upgrade` command
-
[`faedd0f`](https://togithub.com/kairos-io/kairos-agent/commit/faedd0f)
Embed verioneer cli commands and fix duplicate command aliases
-
[`e6b3e50`](https://togithub.com/kairos-io/kairos-agent/commit/e6b3e50)
Exit on install validation if target disk has mounted partitions
([#&#8203;180](https://togithub.com/kairos-io/kairos-agent/issues/180))
-
[`8233435`](https://togithub.com/kairos-io/kairos-agent/commit/8233435)
Fix "upgrade list-releases" command by consuming kairos-sdk versioneer
-
[`2412d69`](https://togithub.com/kairos-io/kairos-agent/commit/2412d69)
Re-enable call-out to provider for releases
-
[`6783931`](https://togithub.com/kairos-io/kairos-agent/commit/6783931)
go mod tidy

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzAxLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

---------

Signed-off-by: Mauro Morales <contact@mauromorales.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-4-160.eu-west-1.compute.internal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

UKI: kairos-agent reset
2 participants