Commit Graph

16 Commits

Author SHA1 Message Date
Mauro Morales
3edef23845
Revert disable certs list in state (#115)
* Bump go-uefi to include panic fix

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

* Revert "Disable certs list in state (#113)"

This reverts commit c643cb5e73.

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-23 10:01:56 +02:00
Itxaka
c643cb5e73
Disable certs list in state (#113) 2024-05-14 10:24:03 +02:00
Itxaka
cd73d32359
Show encrypted parts in state (#108) 2024-05-06 10:03:40 +02:00
Itxaka
599359ec30
Print the EFI certs in the state command (#98)
* Print the EFI certs in the state command

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix key for yaml/json output

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix go.mod

Signed-off-by: Itxaka <itxaka@kairos.io>

* Move things around

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix format

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-17 14:57:57 +00:00
Itxaka
3a78f994f1
Print secureboot state in state (#99) 2024-04-17 16:35:00 +02:00
Itxaka
cbd699b174
fix check for state reset (#83) 2024-04-08 12:50:40 +02:00
Itxaka
9005687239
Detect autoreset in UKI mode (#74) 2024-03-22 13:11:18 +01:00
Mauro Morales
ab666f1b15
Check role of efi conf with prefix (#71)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-02-29 19:56:53 +01:00
Dimitris Karakasilis
f666b18370
2226 detect boot state (#69)
* Detect boot state using suffix in UKI mode

This assumes that the files are named correctly on installation/upgrades
etc (pending implementation)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* WIP

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Refactor NewRuntime and add logging

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-19 12:10:31 +02:00
Itxaka
89782e9933
Support identifying recovery via recovery-mode stanza (#68) 2024-02-01 15:22:24 +01:00
Itxaka
2ecbdbbd3f
Add init system information to state output (#56)
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-10-18 17:16:12 +02:00
Itxaka
9e420d9015
Add KairosFS type and detectBoot with FS (#46) 2023-09-01 15:31:04 +03:00
Itxaka
dd4fbb8014
Identify lvm partitions for state (#28) 2023-06-07 14:48:27 +02:00
Itxaka
3524a69e57
Remove leftover print (#18) 2023-05-23 15:13:41 +02:00
Mauro Morales
0c9d2bd9e6
🌱 Read os-release attributes using kairos prefix (#12)
* Read os-release attributes using kairos prefix

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

* Refactor other functions to use OSRelease

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

* Misc refactoring

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

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-14 11:40:28 +02:00
Itxaka
3163cfbac0 Extract sdk into its own lib
This had some side effects:

 - Have to add some utils from the kairos/machine modules, which IMHO
   should not be there, they should be here if the are generic enough
 - Dropping the sdk dir, just have the modules in the root dir

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-15 10:56:11 +01:00