change dir for package dir to install it

This commit is contained in:
2025-10-25 22:41:28 -03:00
parent 820ffc299f
commit 8feaf5d19b
2 changed files with 4 additions and 0 deletions

View File

@@ -118,6 +118,8 @@ func (container Container) installPackage(file []byte, destDir string) error {
return err
}
os.Chdir(destDir)
if err := bootstrapcontainer.ExecutePrepare(manifest, &L); err != nil {
return fmt.Errorf("error executing prepare: %s", err)
}