mirror of
https://github.com/mudler/luet.git
synced 2025-06-22 05:30:18 +00:00
Don't merge install and compilation DB. Use a temporary DB for generation
This commit is contained in:
parent
b8961be793
commit
3250d63072
@ -224,7 +224,7 @@ func GenerateRepository(name, descr, t string, urls []string,
|
|||||||
b compiler.CompilerBackend, imagePrefix string, pushImages, force bool) (Repository, error) {
|
b compiler.CompilerBackend, imagePrefix string, pushImages, force bool) (Repository, error) {
|
||||||
|
|
||||||
tr := tree.NewInstallerRecipe(db)
|
tr := tree.NewInstallerRecipe(db)
|
||||||
btr := tree.NewCompilerRecipe(db)
|
btr := tree.NewCompilerRecipe(pkg.NewInMemoryDatabase(false))
|
||||||
|
|
||||||
for _, treeDir := range treesDir {
|
for _, treeDir := range treesDir {
|
||||||
if err := tr.Load(treeDir); err != nil {
|
if err := tr.Load(treeDir); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user