Commit Graph

26 Commits

Author SHA1 Message Date
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
4975b9b914 Bump yip and diskfs (#717)
* Bump yip and diskfs

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-03-26 11:57:29 +01:00
Itxaka
a5a55c636d Expand DeployImage to be more flexible (#635)
Usually we create the system dirs in images by default, but that means
that we cannot reuse the DeployImage for deploying random non-system
images.

This fixes it by adding an extra param to create the dir structure in
the created image

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-12-17 15:05:38 +01:00
Itxaka
e8bb8cf4ff Move to use kairos-release (#567) 2024-10-07 09:44:05 +00:00
Itxaka
0f85a2c9d4 Fix reset (#565) 2024-09-27 16:10:49 +02:00
Itxaka
84d87b3a5d Fix partitioner not identifying mmc/nvme partitions (#563) 2024-09-27 09:53:38 +02:00
Itxaka
ded356cf98 Fix mkfs using the wrong label for the fs label (#556) 2024-09-24 10:08:34 +02:00
Itxaka
3e99d75331 Move to use our ghw clone (#535) 2024-09-17 15:27:31 +02:00
Itxaka
d02bc50747 Improve get partitions and reset spec (#530)
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-12 17:24:35 +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
2e0af77fbc Use new logger facilities (#236) 2024-03-01 12:27:26 +01:00
Itxaka
33c8e8f29c Add reset for uki (#221) 2024-02-02 13:20:06 +01:00
Mauro Morales
287c64cdcb Add config permissions
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-12-06 14:37:27 +01:00
Itxaka
1b967cccd8 [uki] Lyfecycle (#148) 2023-10-03 11:15:17 +02:00
Itxaka
1cf9813f43 Fix space calculation on recovery (#128) 2023-08-16 22:59:50 +02:00
Itxaka
4108aa929e Auto calculate image size on actions (#122) 2023-08-08 10:44:42 +02:00
Itxaka
f7bdba2dda Merge elemental config into agent config (#102) 2023-07-25 15:21:34 +02:00
Itxaka
5b945303c9 Drop runconfig in favour of config (#101) 2023-07-25 11:08:27 +02:00
Itxaka
9c5731baa2 Rename go module kairos-agent (#81) 2023-07-10 14:39:48 +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
b126f7ab00 Drop --local flag for image sources (#63) 2023-06-21 09:39:59 +02:00
Itxaka
738bfbdb69 Simplify rsync implementation (#61) 2023-06-20 12:18:31 +02:00
Itxaka
75586ad601 Install improvements (#62) 2023-06-20 09:58:01 +03:00
Dimitris Karakasilis
a113147f8a 1225 config collector elemental (#32)
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
Co-authored-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
2023-06-07 11:28:37 +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