Commit Graph

8 Commits

Author SHA1 Message Date
Mauro Morales
8f68b870d3 Bad refactoring, these should be active not cos (#278)
* Bad refactoring, these should be active not cos

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* State should be called statereset everywhere

autoreset was introduced with UKI but we want parity with GRUB

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-03-29 16:12:23 +01:00
Mauro Morales
69756e3020 Fix bootentry (#277)
* Fix bootentry

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Use same naming as in GRUB

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-03-29 12:49:07 +01:00
Itxaka
64b9548049 Add an autoreset entry (#267) 2024-03-22 13:21:58 +01:00
Mauro Morales
3328a2987f After upgrade or recovery, set bootentry to "cos" (#251) 2024-03-16 16:27:29 +01:00
Itxaka
0c06b1b183 Mount efi partition if not mounted for bootentries (#250) 2024-03-15 14:32:17 +00:00
Itxaka
f6466698fc Fix bootentries grub in opensuse
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-15 14:34:37 +01:00
Mauro Morales
027a8800c2 Use existing role names for bootentry command on UKI (#247)
* Use existing role names for bootentry command

Switch from active.conf, passive.conf and recovery.conf to cos, fallback
and recovery respectively

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Extended cmdline

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Extend tests

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-03-15 09:17:37 +01:00
Itxaka
2e9c85e63a Add shim to choose next entry to boot from (#230) 2024-02-21 10:44:32 +01:00