Allow creating dirs in rootfs via cc (#109)

This commit is contained in:
Itxaka
2023-08-02 19:11:25 +02:00
committed by GitHub
parent a28acbf63a
commit f5f3d3f221
5 changed files with 46 additions and 20 deletions

View File

@@ -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(