diff options
author | Cyrill Zadra <cyrill.zadra@tie.ch> | 2023-10-03 14:42:40 +0200 |
---|---|---|
committer | Cyrill Zadra <cyrill.zadra@tie.ch> | 2023-10-03 14:42:40 +0200 |
commit | 565a409df92c22e75c51d6396790c374b8942c1c (patch) | |
tree | a32a3ac15a55dc6e2c3558678592f4f9fb514832 /pkgs/applications/virtualization/podman | |
parent | f902cb49892d300ff15cb237e48aa1cad79d68c3 (diff) | |
download | nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar.gz nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar.bz2 nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar.lz nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar.xz nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.tar.zst nixpkgs-565a409df92c22e75c51d6396790c374b8942c1c.zip |
podman: 4.6.2 -> 4.7.0
Diffstat (limited to 'pkgs/applications/virtualization/podman')
-rw-r--r-- | pkgs/applications/virtualization/podman/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch | 33 |
2 files changed, 20 insertions, 17 deletions
diff --git a/pkgs/applications/virtualization/podman/default.nix b/pkgs/applications/virtualization/podman/default.nix index 128ab444073..c1fdc2977a7 100644 --- a/pkgs/applications/virtualization/podman/default.nix +++ b/pkgs/applications/virtualization/podman/default.nix @@ -62,13 +62,13 @@ let in buildGoModule rec { pname = "podman"; - version = "4.6.2"; + version = "4.7.0"; src = fetchFromGitHub { owner = "containers"; repo = "podman"; rev = "v${version}"; - hash = "sha256-Zxzb7ORyugvN9mhxa0s8r0ch16Ndbm3Z1JCsQcwbF6g="; + hash = "sha256-xbU2F/QYtTKeZacTmwKDfIGuUg9VStEO/jkpChK0DyU="; }; patches = [ diff --git a/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch b/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch index db6455cab4c..5663f5e8a01 100644 --- a/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch +++ b/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch @@ -1,16 +1,19 @@ -diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go -index a118285f7..d775f0099 100644 ---- a/pkg/machine/qemu/machine.go -+++ b/pkg/machine/qemu/machine.go -@@ -1560,11 +1560,6 @@ func (v *MachineVM) waitAPIAndPrintInfo(forwardState machine.APIForwardingState, - case machine.NotInstalled: - fmt.Printf("\nThe system helper service is not installed; the default Docker API socket\n") - fmt.Printf("address can't be used by podman. ") -- if helper := findClaimHelper(); len(helper) > 0 { -- fmt.Printf("If you would like to install it run the\nfollowing commands:\n") -- fmt.Printf("\n\tsudo %s install\n", helper) -- fmt.Printf("\tpodman machine stop%s; podman machine start%s\n\n", suffix, suffix) -- } - case machine.MachineLocal: +diff --git a/pkg/machine/machine_common.go b/pkg/machine/machine_common.go +index 649748947..a981d93bf 100644 +--- a/pkg/machine/machine_common.go ++++ b/pkg/machine/machine_common.go +@@ -127,14 +127,6 @@ address can't be used by podman. ` + + if len(helper) < 1 { + fmt.Print(fmtString) +- } else { +- fmtString += `If you would like to install it run the\nfollowing commands: +- +- sudo %s install +- podman machine stop%[1]s; podman machine start%[1]s +- +- ` +- fmt.Printf(fmtString, helper, suffix) + } + case MachineLocal: fmt.Printf("\nAnother process was listening on the default Docker API socket address.\n") - case machine.ClaimUnsupported: |