Commit Graph

1474 Commits

Author SHA1 Message Date
Itxaka
b5498a252d Merge branch 'main' into use_grub_from_source_rootfs 2025-04-24 09:17:24 +02:00
renovate[bot]
fb3e245554 fix(deps): update module k8s.io/mount-utils to v0.33.0 (#767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 22:10:24 +00:00
renovate[bot]
1a1f738903 chore(deps): update dependency cypress to v14.3.2 (#766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 23:05:22 +00:00
renovate[bot]
685dd0090c fix(deps): update module github.com/urfave/cli/v2 to v3 (#754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v2.20.4
2025-04-20 03:09:23 +00:00
renovate[bot]
cccda67781 fix(deps): update module github.com/urfave/cli/v3 to v3.2.0 (#764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 03:08:44 +00:00
renovate[bot]
5d444a7ab9 chore(deps): update dependency cypress to v14.3.1 (#763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-18 01:52:39 +00:00
renovate[bot]
19b0348659 fix(deps): update module github.com/kairos-io/kcrypt to v0.15.0 (#762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 21:34:40 +00:00
Itxaka
db0f21164e On build, check fips binary for confirmation (#761) 2025-04-16 12:05:36 +03:00
Itxaka
3f826a7617 Remove focus from tests
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 15:49:49 +02:00
Itxaka
3f47615efa Fix and add extra tests
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 15:17:59 +02:00
Itxaka
8123c64019 Fix reset tests
They were not creating the efi firmware file so the reset action though
it was running on bios instead of EFI

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 15:00:00 +02:00
Itxaka
e32f63b014 Fix a broken grub vars return
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 14:59:48 +02:00
Itxaka
6a7b1fc3d6 Fix grub check for full paths
So it uses the config.Fs

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 14:48:43 +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
54b6779f94 Use grub binaries and libs from rootfs
We should not default to use the underlying OS files and binaries for
grub installs as we may be on a takeover scenario in which the
underlying OS does not provide the needed files.

This moves the grub binary and files to be provided by the source rootfs
and moves the grubOptions hook to use the go libraries directly instead
of shelling out to another binary

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-15 13:03:18 +02:00
renovate[bot]
af8c24846c fix(deps): update module github.com/diskfs/go-diskfs to v1.6.0 (#759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 23:03:21 +00:00
Itxaka
e5b98de8b3 Add support for common and recovery folders in sysext (#757) 2025-04-14 15:42:10 +02:00
Itxaka
e61dc8f00a Use tag instead of version for release archive
Signed-off-by: Itxaka <itxaka@kairos.io>
v2.20.3
2025-04-11 18:35:03 +02:00
Itxaka
1182776075 Install arm64 gcc compiler
Signed-off-by: Itxaka <itxaka@kairos.io>
v2.20.2
2025-04-11 17:21:49 +02:00
Itxaka
ad825b1308 Make goreleaser release fips binaries (#756) v2.20.1 2025-04-11 15:59:01 +02:00
Itxaka
80d6f064c3 First iteration of the sysext command (#738)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
v2.20.0
2025-04-09 10:18:11 +00:00
renovate[bot]
7a39098c13 chore(deps): update dependency cypress to v14.3.0 (#752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 22:04:46 +00:00
renovate[bot]
32d3026be3 fix(deps): update module github.com/urfave/cli/v2 to v3 (#736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v2.19.0
2025-04-08 03:44:58 +00:00
renovate[bot]
97a7806148 fix(deps): update module github.com/google/go-github/v69 to v71 (#750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 03:44:39 +00:00
renovate[bot]
1c50dd2584 fix(deps): update module github.com/google/go-github/v70 to v71 (#751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 03:40:24 +00:00
renovate[bot]
d18bedd2de fix(deps): update module golang.org/x/net to v0.39.0 (#748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 22:22:49 +00:00
renovate[bot]
b7ecc30b8f fix(deps): update module github.com/google/go-github/v69 to v71 (#749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 22:22:32 +00:00
renovate[bot]
c407692c10 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.23.4 (#746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 22:30:06 +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
renovate[bot]
86d710dd02 fix(deps): update module golang.org/x/sys to v0.32.0 (#745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-05 13:59:22 +00:00
renovate[bot]
9cd047ed88 fix(deps): update module golang.org/x/oauth2 to v0.29.0 (#744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-05 13:55:02 +00:00
renovate[bot]
cf0afb0cce fix(deps): update dependency bootstrap to v5.3.5 (#742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-05 02:35:13 +00:00
renovate[bot]
62b6a63f57 chore(deps): update securego/gosec action to v2.22.3 (#741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 22:58:15 +00: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
renovate[bot]
2f50886ba2 fix(deps): update dependency bootstrap to v5.3.4 (#740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 21:58:28 +00:00
renovate[bot]
c62f26884e chore(deps): update google/osv-scanner-action action to v2.0.1 (#739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 21:58:13 +00: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
renovate[bot]
d6a9cd869c fix(deps): update module github.com/onsi/gomega to v1.37.0 (#734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 21:58:11 +00:00
renovate[bot]
cb1bda7e3c fix(deps): update module github.com/google/go-github/v69 to v70 (#726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 12:56:11 +00:00
renovate[bot]
bce1cdce45 fix(deps): update module github.com/urfave/cli/v2 to v3 (#732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 12:51:38 +00:00
Itxaka
d83f78047f Bump sdk (#733)
* Bump sdk

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
v2.18.2
2025-04-02 14:47:05 +02:00
renovate[bot]
f0bdaaacce chore(deps): update dependency go to v1.24.2 (#731)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 22:54:40 +00:00
renovate[bot]
ea9ca53912 fix(deps): update module github.com/urfave/cli/v2 to v3 (#729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 16:52:36 +00:00
renovate[bot]
8393b4401f fix(deps): update module github.com/kairos-io/kairos-sdk to v0.8.0 (#730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v2.18.1
2025-04-01 09:55:54 +00:00
renovate[bot]
d4d1aac9ec fix(deps): update module github.com/urfave/cli/v2 to v3 (#728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 22:23:40 +00:00
renovate[bot]
cb3d349fc8 fix(deps): update module golang.org/x/net to v0.38.0 (#727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 23:47:27 +00:00
renovate[bot]
dc78072602 chore(deps): update dependency cypress to v14.2.1 (#725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 23:33:52 +00:00
renovate[bot]
96501020b3 fix(deps): update module github.com/google/go-github/v69 to v70 (#711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 11:02:08 +00:00
Itxaka
4975b9b914 Bump yip and diskfs (#717)
* Bump yip and diskfs

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
v2.18.0
2025-03-26 11:57:29 +01:00
Itxaka
db703db5e5 Try to fix hooks (#718)
* fix hooks


---------

Signed-off-by: Itxaka <itxaka@kairos.io>
v2.17.1
2025-03-24 16:05:39 +01:00