Commit Graph

17 Commits

Author SHA1 Message Date
Itxaka
3f47615efa Fix and add extra tests
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 15:17:59 +02:00
Itxaka
284a7bde02 Make Persistatant grub vars respect existing ones
We were basically overwriting the file if it existed which is bad.
Now it will read the file if it exists and ingest the existing ones,
then in will override witht he given vars if they match, warn the user
and then store the full processed vars.

This means it will never overwrite any vars again

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 13:37:04 +02:00
Itxaka
7be897c1d5 Add boot assesment for install and bootentry (#604) 2024-11-27 11:16:56 +01:00
Itxaka
dcad8beac2 Drop those stupid github and vfs deps bumps (#591) 2024-11-06 12:50:14 +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
Itxaka
abf92beac8 Bump to use vfs4 (#240) 2024-03-18 11:57:34 +01:00
Itxaka
2e0af77fbc Use new logger facilities (#236) 2024-03-01 12:27:26 +01:00
Itxaka
2e9c85e63a Add shim to choose next entry to boot from (#230) 2024-02-21 10:44:32 +01:00
Itxaka
ae41cbf34e Copy grub+shim from the rootfs especific paths (#189) 2024-01-11 11:24:43 +01:00
Itxaka
f7bdba2dda Merge elemental config into agent config (#102) 2023-07-25 15:21:34 +02:00
Itxaka
9c5731baa2 Rename go module kairos-agent (#81) 2023-07-10 14:39:48 +02:00
Itxaka
9dd1dbddbe Fix getting lvm recovery (#70) 2023-06-23 14:49:38 +02:00
Dimitris Karakasilis
f225315a5a Use lsblk to detect partitions
like we did here:

https://github.com/kairos-io/kairos-sdk/pull/28/files

because ghw doesn't play well with lvm

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-06-21 10:52:08 +03:00
Itxaka
738bfbdb69 Simplify rsync implementation (#61) 2023-06-20 12:18:31 +02:00
Itxaka
ddfa30a4c6 Drop luet, image extractor, drop build code and multiarch images (#20)
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-16 16:06:49 +02:00
Itxaka
002b8ba51f Bring elemental-cli code into the agent (#13) 2023-05-05 18:43:21 +02:00