diff options
Diffstat (limited to 'app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch')
-rw-r--r-- | app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch new file mode 100644 index 000000000000..40e122487418 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/migration/rsync.go.orig 2015-07-11 09:33:18.012425011 -0500 ++++ lxd/migration/rsync.go 2015-07-11 09:33:34.881423857 -0500 +@@ -84,7 +84,7 @@ + * command (i.e. the command to run on --server). However, we're + * hardcoding that at the other end, so we can just ignore it. + */ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command("rsync", "-arvPz", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd) + if err := cmd.Start(); err != nil { + return nil, nil, err |