Vendor in latest buildah

Signed-off-by: baude <bbaude@redhat.com>

Closes: #1007
Approved by: baude
This commit is contained in:
baude
2018-06-27 08:55:20 -05:00
committed by Atomic Bot
parent f6c0fc1aa8
commit e1b47c1507
13 changed files with 247 additions and 63 deletions

View File

@@ -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
}