mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-18 07:50:38 +00:00
Allow creating dirs in rootfs via cc (#109)
This commit is contained in:
@@ -168,6 +168,9 @@ func (r ResetAction) Run() (err error) {
|
||||
}
|
||||
cleanup.Push(func() error { return e.UnmountImage(&r.spec.Active) })
|
||||
|
||||
// Create extra dirs in rootfs as afterwards this will be impossible due to RO system
|
||||
createExtraDirsInRootfs(r.cfg, r.spec.ExtraDirsRootfs, r.spec.Active.MountPoint)
|
||||
|
||||
// install grub
|
||||
grub := utils.NewGrub(r.cfg)
|
||||
err = grub.Install(
|
||||
|
Reference in New Issue
Block a user