Uki support (#61)

This commit is contained in:
Itxaka
2023-02-28 14:37:02 +01:00
committed by GitHub
parent 9a480df901
commit 985b8c9401
15 changed files with 372 additions and 127 deletions

View File

@@ -2,9 +2,6 @@ package mount_test
import (
"context"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"os"
"time"
"github.com/kairos-io/immucore/pkg/mount"
@@ -24,7 +21,6 @@ var _ = Describe("mounting immutable setup", func() {
Context("simple invocation", func() {
It("generates normal dag", func() {
s := &mount.State{
Logger: log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).With().Logger(),
Rootdir: "/",
TargetImage: "/cOS/myimage.img",
TargetDevice: "/dev/disk/by-label/COS_LABEL",