Itxaka
b62a1f2e99
fix deps of rootfs stage, not working modules, symlink
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-07 21:05:30 +01:00
Itxaka
63679b6df1
Add missing modules and fix rootfs stage
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-07 20:16:02 +01:00
Itxaka
717851b0b2
+x generator.sh
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-07 16:48:34 +01:00
Itxaka
14e0faacee
Fix dracut service install
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 21:58:59 +01:00
mudler
66aa6627f7
Add README
2023-02-06 18:53:21 +01:00
Ettore Di Giacinto
eb94df07bc
Merge pull request #24 from kairos-io/changes_v4
...
Remove auto stanza from mount
2023-02-06 18:21:44 +01:00
Itxaka
3afcffe42b
Merge branch 'master' into changes_v4
2023-02-06 18:16:00 +01:00
mudler
74a433bb53
Hook the dracut service in the correct flow
2023-02-06 18:14:18 +01:00
Itxaka
e8750e527b
Service files fixes
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 18:10:48 +01:00
Ettore Di Giacinto
a861c0d1c7
Merge pull request #23 from kairos-io/changes_v4
...
several improvements
2023-02-06 18:06:55 +01:00
Itxaka
41b1baf17b
Remove auto stanza from mount
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 17:46:45 +01:00
Itxaka
2eef2c8922
Merge branch 'master' into changes_v4
2023-02-06 17:29:23 +01:00
Itxaka
7d539b63f4
more
...
more logging
run as dry-run
print version
remove nouser opt
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 17:24:50 +01:00
Itxaka
b071573758
use s.path for everything
...
So we can inherit the rootfs where to store stuff, no matter if / or
/sysroot.
also drop fstabfile as its alwasy gonna be the same file but with a
different rootfs
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 16:29:49 +01:00
Itxaka
f98954367f
several improvements
...
- drop vfs
- less hardcoded stuff, use the runtime status
- Remove things that syscalls dont understand (defaults, auto)
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 16:20:18 +01:00
mudler
8f3a43861b
Read cmdline mount args
2023-02-06 16:02:18 +01:00
mudler
67aea02ba7
Read mountpoint from env file
2023-02-06 15:41:52 +01:00
mudler
4011c3f41c
Cleanup
2023-02-06 15:28:22 +01:00
Ettore Di Giacinto
fcdc2f28b6
Merge pull request #22 from kairos-io/cdboot
...
Use SDK to get machine state
2023-02-06 14:53:04 +01:00
mudler
13e11fca24
Use SDK to get machine state
2023-02-06 14:49:35 +01:00
Itxaka
46a7ee94ed
Merge pull request #18 from kairos-io/changes_v2
2023-02-06 11:48:53 +01:00
Itxaka
4ade174057
dont do anything if booting from CD
...
We leave dracut to do its own thing and mount the CD properly
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 11:31:46 +01:00
Itxaka
67fdfa8df5
Allow removing the cos-immutable-rootfs on dracut build
...
For easy debugging
Also fixes missing stuff on dracut build to be able to still run the
cos-setup-rootfs/initramfs services and adds the missing elemental
binary to the initramfs.
As we remove the cos-immutable-rootfs module for dracut then both the
services and binary doesnt get included.
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 11:29:28 +01:00
Ettore Di Giacinto
0580895067
Merge pull request #14 from kairos-io/renovate/github.com-joho-godotenv-1.x
...
Update module github.com/joho/godotenv to v1.5.1
2023-02-06 10:50:27 +01:00
Ettore Di Giacinto
cd5a4c56af
Merge pull request #17 from kairos-io/renovate/github.com-urfave-cli-v2-2.x
...
Update module github.com/urfave/cli/v2 to v2.24.3
2023-02-06 10:50:09 +01:00
renovate[bot]
95873a3b51
Update module github.com/urfave/cli/v2 to v2.24.3
2023-02-06 09:20:15 +00:00
Itxaka
8f3f469a80
Merge pull request #16 from kairos-io/changes
2023-02-06 10:18:55 +01:00
Itxaka
64fd2f0282
immucore should instlal the cos-setup-initamfs/rootfs services on initrd
...
Same as cos-immutable-rootfs setups them otherwise they wont get run once we
drop the cos-immutable-rootfs
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:46:00 +01:00
Itxaka
66222fb98c
Add github job for unit-tests
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:44:59 +01:00
Itxaka
73b3f56af5
move to cli v2
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:43:54 +01:00
Itxaka
459f9bf349
Add dry-run flag
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:37:38 +01:00
Itxaka
e1c16c4e64
Add earthlyignore
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:31:52 +01:00
renovate[bot]
27d7958b32
Update module github.com/joho/godotenv to v1.5.1
2023-02-06 01:24:21 +00:00
Ettore Di Giacinto
6b50384606
Merge pull request #8 from kairos-io/renovate/github.com-onsi-ginkgo-v2-2.x
...
Update module github.com/onsi/ginkgo/v2 to v2.8.0
2023-02-04 18:51:09 +01:00
Ettore Di Giacinto
ae1d5792ca
Merge pull request #9 from kairos-io/renovate/github.com-urfave-cli-2.x
...
Update module github.com/urfave/cli to v2
2023-02-04 18:51:00 +01:00
mudler
70cce41004
Timeout must be created before, not during consumption
...
Fix: https://github.com/kairos-io/immucore/issues/12
2023-02-04 15:25:18 +01:00
renovate[bot]
dad7f54563
Update module github.com/urfave/cli to v2
2023-02-04 13:35:51 +00:00
renovate[bot]
db5970912c
Update module github.com/onsi/ginkgo/v2 to v2.8.0
2023-02-04 13:35:30 +00:00
Ettore Di Giacinto
45e2622cd1
Merge pull request #10 from kairos-io/renovate/github.com-joho-godotenv-1.x
...
Update module github.com/joho/godotenv to v1.5.0
2023-02-04 14:33:16 +01:00
Ettore Di Giacinto
5b2a94a2df
Merge pull request #7 from kairos-io/renovate/github.com-moby-sys-mountinfo-0.x
...
Update module github.com/moby/sys/mountinfo to v0.6.2
2023-02-04 14:33:00 +01:00
Ettore Di Giacinto
dc5342ab6a
Merge pull request #4 from kairos-io/renovate/github.com-urfave-cli-1.x
...
Update module github.com/urfave/cli to v1.22.12
2023-02-04 14:32:48 +01:00
Ettore Di Giacinto
74c1214b7e
Merge pull request #3 from kairos-io/renovate/github.com-containerd-containerd-1.x
...
Update module github.com/containerd/containerd to v1.6.16
2023-02-04 14:32:38 +01:00
renovate[bot]
473a582e1d
Update module github.com/moby/sys/mountinfo to v0.6.2
2023-02-04 11:44:51 +00:00
renovate[bot]
7e467d98b9
Update module github.com/joho/godotenv to v1.5.0
2023-02-04 11:44:03 +00:00
Ettore Di Giacinto
d5a90d9f19
Merge pull request #2 from kairos-io/what
...
Small improvements to earth files
2023-02-04 12:43:03 +01:00
Itxaka
b33fccfbd3
drop unused var in dracut
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-04 11:18:49 +01:00
Itxaka
8a916f4999
Error handling on dag creation
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-04 11:18:13 +01:00
Itxaka
93ceae89a2
Give a logger to State and add debug logs
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-04 10:33:58 +01:00
Itxaka
8973979ceb
Mark dracut modules executable
...
otherwise they refuse to run during initramfs :)
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-04 09:29:57 +01:00
Itxaka
e0e1bac4dd
use rootfs for iso building
...
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-04 09:06:23 +01:00