mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
podman: fix patches
This commit is contained in:
parent
c877626bf3
commit
b9f3beec55
@ -1,8 +1,8 @@
|
||||
diff --git a/vendor/github.com/containers/common/pkg/config/default.go b/vendor/github.com/containers/common/pkg/config/default.go
|
||||
index 3a6d804ad..5628e2bf6 100644
|
||||
index 02ff128..d3254ba 100644
|
||||
--- a/vendor/github.com/containers/common/pkg/config/default.go
|
||||
+++ b/vendor/github.com/containers/common/pkg/config/default.go
|
||||
@@ -366,75 +366,34 @@ func defaultEngineConfig() (*EngineConfig, error) {
|
||||
@@ -378,75 +378,34 @@ func defaultEngineConfig() (*EngineConfig, error) {
|
||||
c.Retry = 3
|
||||
c.OCIRuntimes = map[string][]string{
|
||||
"crun": {
|
||||
@ -88,7 +88,7 @@ index 3a6d804ad..5628e2bf6 100644
|
||||
},
|
||||
}
|
||||
c.PlatformToOCIRuntime = map[string]string{
|
||||
@@ -445,26 +404,12 @@ func defaultEngineConfig() (*EngineConfig, error) {
|
||||
@@ -457,26 +416,12 @@ func defaultEngineConfig() (*EngineConfig, error) {
|
||||
// Needs to be called after populating c.OCIRuntimes.
|
||||
c.OCIRuntime = c.findRuntime()
|
||||
|
||||
|
@ -1,22 +1,22 @@
|
||||
diff --git a/pkg/machine/machine_common.go b/pkg/machine/machine_common.go
|
||||
index 1afc3d15b..a8aafcaae 100644
|
||||
index d2ba418..5098cdc 100644
|
||||
--- a/pkg/machine/machine_common.go
|
||||
+++ b/pkg/machine/machine_common.go
|
||||
@@ -33,13 +33,8 @@ func GetDevNullFiles() (*os.File, *os.File, error) {
|
||||
@@ -34,13 +34,8 @@ func GetDevNullFiles() (*os.File, *os.File, error) {
|
||||
// WaitAPIAndPrintInfo prints info about the machine and does a ping test on the
|
||||
// API socket
|
||||
func WaitAPIAndPrintInfo(forwardState APIForwardingState, name, helper, forwardSock string, noInfo, rootful bool) {
|
||||
- suffix := ""
|
||||
var fmtString string
|
||||
|
||||
- if name != DefaultMachineName {
|
||||
- if name != define.DefaultMachineName {
|
||||
- suffix = " " + name
|
||||
- }
|
||||
-
|
||||
if forwardState == NoForwarding {
|
||||
return
|
||||
}
|
||||
@@ -61,14 +56,6 @@ address can't be used by podman. `
|
||||
@@ -62,14 +57,6 @@ address can't be used by podman. `
|
||||
|
||||
if len(helper) < 1 {
|
||||
fmt.Print(fmtString)
|
||||
|
Loading…
Reference in New Issue
Block a user