Itxaka
d0f0710c78
Use grub binaries and libs from rootfs ( #760 )
2025-04-25 10:43:21 +02:00
Itxaka
e5b98de8b3
Add support for common and recovery folders in sysext ( #757 )
2025-04-14 15:42:10 +02:00
Itxaka
80d6f064c3
First iteration of the sysext command ( #738 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-09 10:18:11 +00:00
Itxaka
c94cd8c685
Disable atimes in rsync ( #743 )
...
Some very old distros like ubuntu dont have that option
2025-04-05 20:41:15 +02:00
Itxaka
b2ced7173f
Allow skipping the users check via sentinel
...
Signed-off-by: Itxaka <itxaka@kairos.io>
(cherry picked from commit b45d95c256
)
2025-04-04 15:19:20 +02:00
Itxaka
2b9a3359db
Fix platform in ExtractImage ( #737 )
...
We were passing the platform but doing nothing with it. Thats bad.
This will now check if the platform is valid by trying to parse it and
if it fails or platform is empty, it will default to the current
platform as it did before
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-03 17:55:56 +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
db703db5e5
Try to fix hooks ( #718 )
...
* fix hooks
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-03-24 16:05:39 +01:00
Itxaka
11cdddc452
Disable xattrs on rsync ( #694 )
...
* Disable xattrs on rsync
For systems with selinux enabled, this makes impossible to generate the
proper files as its being blocked
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-03-06 10:33:40 +01:00
Dimitris Karakasilis
445da19c7e
Bump github.com/google/go-github properly ( #686 )
...
because renovate doesn't know how to
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2025-02-14 16:14:04 +02:00
Andrew Steurer
78c109040d
adding error message ( #626 )
...
* adding error message
Signed-off-by: Andrew Steurer <andrew.steurer@fermyon.com>
* Apply suggestions from code review
---------
Signed-off-by: Andrew Steurer <andrew.steurer@fermyon.com>
Co-authored-by: Itxaka <itxaka@kairos.io>
2024-12-23 10:41:31 +00: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
07480abde2
Add sort-key during install based on the entry name ( #609 )
...
* Add sort-key during install based on the entry name
Signed-off-by: Itxaka <itxaka@kairos.io>
* Fix logger output
Signed-off-by: Itxaka <itxaka@kairos.io>
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-11-27 16:18:50 +02:00
Itxaka
7be897c1d5
Add boot assesment for install and bootentry ( #604 )
2024-11-27 11:16:56 +01:00
Itxaka
895e571bb3
Expose pcrs for uki encryption ( #603 )
2024-11-20 10:41:52 +01:00
Itxaka
00409e2357
fix reset not updating EFI files ( #600 )
2024-11-19 16:38:05 +01:00
Itxaka
dcad8beac2
Drop those stupid github and vfs deps bumps ( #591 )
2024-11-06 12:50:14 +01:00
Itxaka
6634e18aa3
Respect user defined/default sizes on upgrade ( #587 )
2024-11-06 11:34:01 +01:00
Itxaka
8184c366ad
Fix partitioner on disks with secotor size other than 512 ( #582 )
2024-10-28 20:23:18 +01:00
Itxaka
f24511b2dd
Enable debug log asap ( #578 )
2024-10-16 17:27:00 +02:00
Itxaka
e2c3a0e638
Read actual system configs during k8s upgrade ( #579 )
2024-10-16 12:36:19 +02:00
Itxaka
97d25b8993
Check for user+admin validity before actions ( #575 )
2024-10-15 10:47:09 +02:00
Itxaka
a3aadbbaa9
Allow installing with no users ( #574 )
2024-10-10 14:18:59 +02:00
Itxaka
e8bb8cf4ff
Move to use kairos-release ( #567 )
2024-10-07 09:44:05 +00:00
Itxaka
a3452b4cfa
Try to get the flavor on EFI installs ( #568 )
2024-10-01 16:15:53 +02: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
Dimitris Karakasilis
d3c864cd19
Add comment above method
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 15:02:39 +03:00
Dimitris Karakasilis
a45cee2ebc
Fix order or directories
...
so that we allow users to override baked-in livecd configuration with
config coming from datasource (written in /oem)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 14:59:16 +03:00
Dimitris Karakasilis
d618ff72f3
Split yip config dirs from user config dirs
...
as per the comment here:
https://github.com/kairos-io/kairos-agent/pull/550#discussion_r1776759001
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 14:32:36 +03:00
Dimitris Karakasilis
d7af53994b
Add directory back
...
we will handle this in another pr. See comment here:
https://github.com/kairos-io/kairos-agent/pull/550#discussion_r1776753288
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:56:16 +03:00
Dimitris Karakasilis
9891916d49
Fix RenderTemplate and a test
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:18:42 +03:00
Dimitris Karakasilis
b0b4618f8f
Show sources in config string
...
and remove directory which is only meant to be used by yip configs (not
user configs read by the kairos-agent).
This needs to be explained in the release notes.
Needs this: https://github.com/kairos-io/kairos-sdk/pull/501
Part of: https://github.com/kairos-io/kairos/issues/2737
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:07:59 +03:00
Itxaka
6fe3455bd8
Really resolve the target for config and spec ( #560 )
2024-09-25 11:52:42 +02:00
Itxaka
9d63bae2ae
Really resolve the link, not just get a relative link ( #558 )
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-24 19:09:06 +02:00
Itxaka
ded356cf98
Fix mkfs using the wrong label for the fs label ( #556 )
2024-09-24 10:08:34 +02:00
Itxaka
60af8246ad
Accept more paths to devices for install ( #552 )
2024-09-23 17:13:07 +02:00
Itxaka
bd4dce015f
Expose the Analize method of yip ( #548 )
...
This only shows for a given stage what steps would be run and in which
order
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-20 10:36:09 +02:00
Itxaka
fbb64f2a82
Run tests in parallel and output github formats on workflow ( #543 )
...
* Run tests in parallel and output github formats on workflow
Signed-off-by: Itxaka <itxaka@kairos.io>
* Fix broken parallel tests
We were using a fixed file for the tests which several tests could be
accessing at the same time.
This fixes it by setting a temp random file at the test start
Signed-off-by: Itxaka <itxaka@kairos.io>
* Fix the tests logging to stdout
Signed-off-by: Itxaka <itxaka@kairos.io>
* Drop the verbose
Signed-off-by: Itxaka <itxaka@kairos.io>
* Fix agent test
Signed-off-by: Itxaka <itxaka@kairos.io>
* Let the event consumer create the logfile or whatever
Signed-off-by: Itxaka <itxaka@kairos.io>
* Drop Focus
Signed-off-by: Itxaka <itxaka@kairos.io>
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-17 17:51:11 +02:00
Itxaka
3e99d75331
Move to use our ghw clone ( #535 )
2024-09-17 15:27:31 +02:00
Itxaka
690c7e7acd
Fix skipping paths under kubernetes
...
Signed-off-by: Itxaka <itxaka@kairos.io>
(cherry picked from commit c549aeb086
)
2024-09-16 10:17:55 +02:00
Itxaka
a6bf3541c5
Do not skip /run when counting the size ( #538 )
2024-09-13 17:31:40 +02:00
Itxaka
7c6c195bd5
Fix upgrade size calculation inside k8s ( #537 )
...
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-13 13:07:17 +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
Dimitris Karakasilis
774547e150
Address PR comments
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-04 12:51:19 +03:00
Dimitris Karakasilis
8bf8fd8e6e
Remove unecessary changes
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 16:14:40 +03:00
Dimitris Karakasilis
88c1e93d71
Remove unecessary handling of config
...
As described here:
https://github.com/kairos-io/kairos-agent/pull/499/files#r1735245329
the `unmarshallFullSpec` will take care of the `upgrade.entry`
config so no need to handle it twice.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 16:11:53 +03:00
Dimitris Karakasilis
f9b6a529f3
Use cli options to set the upgrade entry
...
so that we check if this works (fixed bug)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 15:30:55 +03:00
Dimitris Karakasilis
ee14575627
Rename method
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 15:18:33 +03:00