Drop luet, image extractor, drop build code and multiarch images (#20)

Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
Itxaka
2023-05-16 16:06:49 +02:00
committed by GitHub
parent 0b7fd24bc7
commit ddfa30a4c6
40 changed files with 495 additions and 4964 deletions

View File

@@ -160,13 +160,6 @@ func (u *UpgradeAction) Run() (err error) {
umount, err = e.MountRWPartition(persistentPart)
if err != nil {
u.config.Logger.Warn("could not mount persistent partition: %s", err.Error())
} else {
// Set luet tempdir
tmpdir := utils.GetTempDir(&u.config.Config, "")
u.config.Luet.SetTempDir(tmpdir)
// Remove the tmpdir before unmounting
cleanup.Push(func() error { return u.config.Fs.RemoveAll(tmpdir) })
cleanup.Push(umount)
}
}
}