Itxaka
84b9223b87
Use kairos logger from sdk ( #437 )
2024-09-18 10:10:39 +02:00
Itxaka
33ce07902b
Add discard flags during format ( #424 )
2024-07-31 17:58:42 +02:00
Itxaka
9773d5ce7e
Do not settle, just trigger ( #382 )
2024-05-28 21:08:37 +02:00
Itxaka
ef5ef8e495
Remove -v flag on udev unlock
...
it can cause locks
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-05-28 19:24:13 +02:00
Dimitris Karakasilis
3655d3d81e
Try a simpler version of "udevadm trigger"
...
in case the other options are not supported
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-27 09:29:52 +03:00
Dimitris Karakasilis
dc0a97cab2
Trigger udev to populate disk info
...
because otherwise, sometimes the encrypted partition doesn't show up as
type: crypto_LUKS but as type: unknown making kcrypt skip it completely
Part of https://github.com/kairos-io/kairos/issues/2511
(an additional seems to be needed in kairos-agent when locking the
partitions to fully fix the issue)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-23 13:38:10 +03:00
Dimitris Karakasilis
fcf834a5b0
Add wrapper method to pass down a logger to UnlockAll
...
so that when called from immucore, we can write to the immucore log file
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-19 12:27:54 +02:00
Itxaka
ee419393cd
Get label only if needed ( #46 )
2024-01-24 10:00:17 +01:00
Itxaka
94af8c8dd3
Also unlock with TPM
...
so we can use the same functions everywhere just with a flag
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-11-30 11:39:21 +01:00
Itxaka
47e7f67e04
Fix label
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-05 09:19:46 +02:00
Itxaka
36f861fd0c
Use reproducible UUIDs for partition identification
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-04 12:07:21 +02:00
Itxaka
6d6dfd00a1
🌱 Make some functions public
...
So they can be imported from different places as lib and re-used
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-19 14:44:33 +02:00