Commit Graph

13 Commits

Author SHA1 Message Date
Itxaka
d0f0710c78
Use grub binaries and libs from rootfs (#760) 2025-04-25 10:43:21 +02:00
Itxaka
7be897c1d5
Add boot assesment for install and bootentry (#604) 2024-11-27 11:16:56 +01:00
Itxaka
3e99d75331
Move to use our ghw clone (#535) 2024-09-17 15:27:31 +02:00
Itxaka
8e2c8ebb92
Minimize shelling out (#439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-10 12:23:15 +02:00
Dimitris Karakasilis
c589ae1ce3
[WIP] Properly handle single entries in bootentry command
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:32:43 +03:00
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