mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 15:18:28 +00:00
Use well defined structure for serializing, fixups to make test green
This commit is contained in:
@@ -34,7 +34,11 @@ const (
|
||||
FinalizerFile = "finalize.yaml"
|
||||
)
|
||||
|
||||
func NewInstallerRecipe(db pkg.PackageDatabase) Builder { return &InstallerRecipe{Database: db} }
|
||||
func NewInstallerRecipe(db pkg.PackageDatabase) Builder {
|
||||
tree := NewDefaultTree()
|
||||
tree.SetPackageSet(db)
|
||||
return &InstallerRecipe{Database: db, PackageTree: tree}
|
||||
}
|
||||
|
||||
// InstallerRecipe is the "general" reciper for Trees
|
||||
type InstallerRecipe struct {
|
||||
|
Reference in New Issue
Block a user