Commit Graph

505 Commits

Author SHA1 Message Date
Itxaka
772a21cf64 Update renovate.json 2024-05-16 10:31:56 +02:00
renovate[bot]
df55b53588 chore(deps): update golangci/golangci-lint docker tag to v1.58.1 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 10:23:38 +02:00
renovate[bot]
bf4dcab16c fix(deps): update module github.com/mudler/yip to v1.7.0 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 10:23:11 +02:00
renovate[bot]
efef73421c fix(deps): update module github.com/urfave/cli/v2 to v2.27.2 2024-04-27 16:40:06 +00:00
renovate[bot]
93f06945b1 fix(deps): update module github.com/mudler/yip to v1.6.2 2024-04-27 12:17:55 +00:00
Itxaka
2bac6058eb Run rootfs stage after oem under uki (#300) v0.1.26 2024-04-24 19:10:59 +02:00
Itxaka
b2abd829a6 Bump yip (#297) 2024-04-24 10:50:09 +02:00
renovate[bot]
35c37b244a chore(deps): update quay.io/kairos/osbuilder-tools docker tag to v0.200.12 2024-04-19 22:20:52 +00:00
Itxaka
cbf38f553c Use a pure golang pcr extend (#286) 2024-04-19 13:43:05 +02:00
Ettore Di Giacinto
d14a047aa6 fix(mount): call sync before/after operations (#288)
* fix(mount): call sync after mount ops

Signed-off-by: mudler <mudler@kairos.io>

* refactor(mount): replace calls wrapped with sync

Signed-off-by: mudler <mudler@kairos.io>

* be consistent

Signed-off-by: mudler <mudler@kairos.io>

* lint fixes

Signed-off-by: mudler <mudler@kairos.io>

---------

Signed-off-by: mudler <mudler@kairos.io>
2024-04-19 10:01:16 +00:00
renovate[bot]
4916e6dba7 Update module github.com/kairos-io/kairos-sdk to v0.0.30 2024-04-13 00:17:15 +00:00
renovate[bot]
355f282376 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.11 2024-04-11 23:35:54 +00:00
Mauro Morales
d8671d1152 Check both pcrphase and pcrextend (#279)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
v0.1.25
2024-04-10 16:39:44 +02:00
Itxaka
c97a3ae559 Recover original 755 perms for dir creation
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-10 11:22:15 +02:00
renovate[bot]
ac1c1be9f8 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.10 2024-04-09 22:36:56 +00:00
dependabot[bot]
cf4595d3cb Bump the go_modules group across 1 directory with 3 updates (#267)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2024-04-09 10:57:17 +02:00
renovate[bot]
2cdab212cb Update github.com/kairos-io/kcrypt digest to 05628ae (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 10:53:04 +02:00
Itxaka
ade21d4663 Fix lint and new uki steps (#274)
* Fix lint and add new uki step

Make it simpler by dividing the actual base mounts and pivot into new
sysroot into two different steps

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix constant name and gosec issues

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-09 10:40:47 +02:00
Itxaka
b9fe50bf84 Add timeout wait for sysroot (#278) 2024-04-09 10:40:28 +02:00
renovate[bot]
b4654ffb47 Update actions/checkout action to v4 (#269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 10:38:39 +02:00
renovate[bot]
efa81ce145 Update github/codeql-action action to v3 (#270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 10:38:25 +02:00
Itxaka
d3e1092e42 Bump sdk (#275) v0.1.24 2024-04-08 12:57:02 +02:00
Itxaka
266d06334f Rework uki to pivot at start (#271)
* Rework uki to pivot at start

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix secureboot check

Signed-off-by: Itxaka <itxaka@kairos.io>

* debug

Signed-off-by: Itxaka <itxaka@kairos.io>

* Change order of initial stuff

first mount the barebone stuff and then do the movement

Signed-off-by: Itxaka <itxaka@kairos.io>

* Drop sleep

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
v0.1.23
2024-04-02 10:26:07 +00:00
renovate[bot]
8a142fe41f Update golangci/golangci-lint Docker tag to v1.57.2 2024-03-29 02:04:06 +00:00
Ettore Di Giacinto
3a7c8a81ca Create secscan.yaml 2024-03-28 10:29:56 +01:00
renovate[bot]
e6455b3326 Update module github.com/kairos-io/kairos-sdk to v0.0.28 2024-03-28 01:33:18 +00:00
renovate[bot]
a983df1560 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.9 2024-03-27 22:52:25 +00:00
renovate[bot]
63f5846c53 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.8 2024-03-22 22:50:25 +00:00
Itxaka
94e643622a Set autoreset sentinel (#259) v0.1.22 2024-03-22 13:21:31 +01:00
renovate[bot]
2bd94e44ab Update golangci/golangci-lint Docker tag to v1.57.1 2024-03-20 23:16:22 +00:00
dependabot[bot]
fb45ba7c33 Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#253)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 16:28:42 +01:00
Itxaka
08c8205fd9 Tidy up after golang updates (#252) 2024-03-20 16:13:48 +01:00
renovate[bot]
73b875e289 Update golangci/golangci-lint Docker tag to v1.57.0 (#250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:46:46 +01:00
Itxaka
8a2bb88bfc Update unit-tests.yaml 2024-03-20 14:02:13 +01:00
Itxaka
93f5cf5de6 Rework immucore (#246) 2024-03-20 11:48:51 +01:00
Itxaka
ddfe8b7648 Recover the remouon / RO (#249) 2024-03-20 11:08:38 +01:00
Itxaka
572002fb38 Bump lint and fix issues (#245) 2024-03-18 14:38:57 +01:00
Itxaka
1720e4b22f Test several go versions (#244) 2024-03-18 12:43:16 +01:00
renovate[bot]
eb8e1c0950 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.7 2024-03-15 22:21:17 +00:00
Itxaka
efb4d45aa8 Bump to vfs4 (#230) 2024-03-15 12:26:26 +01:00
Itxaka
a78e2b7ce7 Fix mounts (#241)
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v0.1.21
2024-03-15 09:24:54 +01:00
renovate[bot]
f25066af47 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.6 2024-03-14 00:48:13 +00:00
renovate[bot]
73590f9207 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.5 2024-03-07 22:08:44 +00:00
renovate[bot]
49dd162fdb Update github.com/kairos-io/kcrypt digest to 4715d08 (#226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 18:51:53 +01:00
renovate[bot]
3041e600a2 Update module golang.org/x/sys to v0.18.0 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 18:45:46 +01:00
renovate[bot]
5c0d531e7a Update module github.com/onsi/ginkgo/v2 to v2.16.0 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 18:45:35 +01:00
renovate[bot]
2c40ad1b19 Update codecov/codecov-action action to v4 (#219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 18:45:23 +01:00
renovate[bot]
e7bbe4ddd1 Update quay.io/kairos/osbuilder-tools Docker tag to v0.200.4 (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 18:44:35 +01:00
Itxaka
25975a5594 Chroot into a new dir before starting the system (#234)
* Chroot into a new dir before starting the system

Signed-off-by: Itxaka <itxaka@kairos.io>

* Use ReadDir and copy files int eh rootdir to the enw rootdir

Signed-off-by: Itxaka <itxaka@kairos.io>

* logggg

Signed-off-by: Itxaka <itxaka@kairos.io>

* Several fixes

Mount /dev at start so we can log to kmesg/ttyS0
Log more
Store the mountpoints found in root to bind them later to the new
sysroot

Signed-off-by: Itxaka <itxaka@kairos.io>

* debvuy

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix

Signed-off-by: Itxaka <itxaka@kairos.io>

* more debufg

Signed-off-by: Itxaka <itxaka@kairos.io>

* fix

Signed-off-by: Itxaka <itxaka@kairos.io>

* sfder

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix symlinks

Signed-off-by: Itxaka <itxaka@kairos.io>

* final

Signed-off-by: Itxaka <itxaka@kairos.io>

* disable mobving the / root mountpoint

Im not sure this works on our side or how, I just get errors

Signed-off-by: Itxaka <itxaka@kairos.io>

* Debug

Signed-off-by: Itxaka <itxaka@kairos.io>

* Disable remounting / as RO and enable remounting the new sysroot as RO

Signed-off-by: Itxaka <itxaka@kairos.io>

* Dont drop to bash like that

Signed-off-by: Itxaka <itxaka@kairos.io>

* Move "sysroot" to a constant, dry code and handle errors

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Fix linting errors by removing superflows `else` statements

because the `if`s end with `continue`

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Apply suggestions from code review

* Remove loggers that don't work

because `/dev` is not there yet (?). In any case, we need to switch to
the new logger

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v0.1.20
2024-03-06 17:09:26 +02:00
Itxaka
a52b9651ad Change the secureboot disable to not collide with disable immucore (#233) v0.1.19 2024-03-06 10:30:18 +01:00