mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-04 16:20:05 +00:00
Bring UKI to a working state (#97)
- Mount the needed base mounts (/proc /dev /sys /tmp) - Use our own console for yip (required to add the PATH under uki) - Order the DAG in a proper way (was out of order and not working) Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
@@ -56,9 +56,9 @@ func RunStage(stage string) (bytes.Buffer, error) {
|
||||
var buffer bytes.Buffer
|
||||
log := logrus.New()
|
||||
log.SetOutput(&buffer)
|
||||
log.SetLevel(logrus.DebugLevel)
|
||||
log.SetLevel(logrus.InfoLevel)
|
||||
yip := NewYipExecutor(log)
|
||||
c := console.NewStandardConsole(console.WithLogger(log))
|
||||
c := ImmucoreConsole{}
|
||||
|
||||
stageBefore := fmt.Sprintf("%s.before", stage)
|
||||
stageAfter := fmt.Sprintf("%s.after", stage)
|
||||
|
Reference in New Issue
Block a user