mirror of
https://github.com/containers/podman.git
synced 2025-12-11 09:18:34 +08:00
Vendor in latest buildah
Signed-off-by: baude <bbaude@redhat.com> Closes: #1007 Approved by: baude
This commit is contained in:
14
vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
generated
vendored
14
vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
generated
vendored
@@ -3,23 +3,11 @@
|
||||
package bind
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/containers/storage/pkg/idtools"
|
||||
"github.com/containers/storage/pkg/mount"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// SetupIntermediateMountNamespace returns a no-op unmountAll() and no error.
|
||||
func SetupIntermediateMountNamespace(spec *specs.Spec, bundlePath string) (unmountAll func() error, err error) {
|
||||
stripNoBuildahBindOption(spec)
|
||||
stripNoBindOption(spec)
|
||||
return func() error { return nil }, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user