sdk/enter: make bind mount recursive.
This is a break is compatibility between the legacy and new sdk enter
methods. Make them both recursive bind mounts.
@@ -366,7 +366,7 @@ func enterChrootHelper(args []string) (err error) {
return err
}
- if err := system.Bind(e.RepoRoot, newRepoRoot); err != nil {
+ if err := system.RecursiveBind(e.RepoRoot, newRepoRoot); err != nil {
return err
}
