diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:33 +0000 |
commit | e008d5b85d48f1ddace6ac9bcb2d8c3d68932a60 (patch) | |
tree | fbe22b3dd2701ed2fe409698da213d717c85ce8b /debian/patches | |
parent | Merging upstream version 9.4.0+dfsg. (diff) | |
download | ansible-e008d5b85d48f1ddace6ac9bcb2d8c3d68932a60.tar.xz ansible-e008d5b85d48f1ddace6ac9bcb2d8c3d68932a60.zip |
Adding debian version 9.4.0+dfsg-1.debian/9.4.0+dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
4 files changed, 8 insertions, 31 deletions
diff --git a/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch b/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch deleted file mode 100644 index d3daee66b..000000000 --- a/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch +++ /dev/null @@ -1,22 +0,0 @@ -Description: Fix libvirt connection plugin warning -Origin: upstream, https://github.com/ansible-collections/community.libvirt/pull/147 -Forwarded: not-needed -Reviewed-by: Lee Garrett <debian@rocketjump.eu> -Last-Update: 2023-07-22 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- /dev/null -+++ b/ansible_collections/community/libvirt/changelogs/fragments/147_fix_qemu_remote_target_warning.yml -@@ -0,0 +1,2 @@ -+bugfixes: -+ - libvirt_qemu - connection plugin threw a warning about an improperly configured remote target. Fix adds `inventory_hostname` to `options.remote_addr.vars` (https://github.com/ansible-collections/community.libvirt/pull/147). ---- a/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py -+++ b/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py -@@ -29,6 +29,7 @@ - default: inventory_hostname - vars: - - name: ansible_host -+ - name: inventory_hostname - executable: - description: - - Shell to use for execution inside container. diff --git a/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch b/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch index 4c8e2926c..78a8baf3e 100644 --- a/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch +++ b/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch @@ -17,9 +17,9 @@ This patch ensures that the proper encoding is set on every command. --- a/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py +++ b/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py -@@ -161,6 +161,10 @@ - # prompt that will not occur - sudoable = False +@@ -164,6 +164,10 @@ + # utf-8, this must be done via chcp to get utf-8 (65001) + cmd = ' '.join(["chcp.com", "65001", self._shell._SHELL_REDIRECT_ALLNULL, self._shell._SHELL_AND, cmd]) + # Make sure our first command is to set the console encoding to + # utf-8, this must be done via chcp to get utf-8 (65001) diff --git a/debian/patches/0003-fix-libvirt-path-resolution.patch b/debian/patches/0003-fix-libvirt-path-resolution.patch index 3153b6fd3..1dec5a535 100644 --- a/debian/patches/0003-fix-libvirt-path-resolution.patch +++ b/debian/patches/0003-fix-libvirt-path-resolution.patch @@ -24,7 +24,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ import shlex import time import traceback -@@ -99,6 +100,7 @@ +@@ -98,6 +99,7 @@ super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs) self._host = self._play_context.remote_addr @@ -32,7 +32,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ # Windows operates differently from a POSIX connection/shell plugin, # we need to set various properties to ensure SSH on Windows continues -@@ -147,6 +149,21 @@ +@@ -146,6 +148,21 @@ display.vvv(u"ESTABLISH {0} CONNECTION".format(self.transport), host=self._host) self._connected = True @@ -54,7 +54,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ def exec_command(self, cmd, in_data=None, sudoable=True): """ execute a command on the virtual machine host """ super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable) -@@ -154,6 +171,7 @@ +@@ -153,6 +170,7 @@ self._display.vvv(u"EXEC {0}".format(cmd), host=self._host) cmd_args_list = shlex.split(to_native(cmd, errors='surrogate_or_strict')) @@ -62,7 +62,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ if getattr(self._shell, "_IS_WINDOWS", False): # Become method 'runas' is done in the wrapper that is executed, -@@ -242,6 +260,7 @@ +@@ -245,6 +263,7 @@ def put_file(self, in_path, out_path): ''' transfer a file from local to domain ''' super(Connection, self).put_file(in_path, out_path) @@ -70,7 +70,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ display.vvv("PUT %s TO %s" % (in_path, out_path), host=self._host) if not exists(to_bytes(in_path, errors='surrogate_or_strict')): -@@ -304,6 +323,7 @@ +@@ -307,6 +326,7 @@ def fetch_file(self, in_path, out_path): ''' fetch a file from domain to local ''' super(Connection, self).fetch_file(in_path, out_path) diff --git a/debian/patches/series b/debian/patches/series index 593fcdb88..69c96cea0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,2 @@ -0001-fix-libvirt-connection-plugin-warning.patch 0002-fix-libvirt-encoding-errors-on-windows-guests.patch 0003-fix-libvirt-path-resolution.patch |