summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:34:10 +0000
commit2c351271b9795d1c2b26bbd626ff702cef4ae987 (patch)
tree3b6b0b1efe318a023406363d36758d0f69ebb492 /debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch
parentMerging upstream version 10.0.1+dfsg. (diff)
downloadansible-2c351271b9795d1c2b26bbd626ff702cef4ae987.tar.xz
ansible-2c351271b9795d1c2b26bbd626ff702cef4ae987.zip
Merging debian version 10.0.1+dfsg-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch')
-rw-r--r--debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch29
1 files changed, 13 insertions, 16 deletions
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 78a8baf3e..41b30e4b6 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
@@ -1,20 +1,17 @@
-From fb6123b5419dee8de0bd739383ee1c67ad596216 Mon Sep 17 00:00:00 2001
-From: Lee Garrett <lgarrett@rocketjump.eu>
-Date: Fri, 1 Sep 2023 14:35:15 +0200
-Subject: [PATCH 1/2] Fix encoding errors on Windows guests (fixes: #156)
-
-On Windows guests the default encoding will be set to whatever
-default legacy encoding, not utf-8. This issue isn't apparent on English locale
-Windows guests, as there the encodings (ISO-8859-1, utf-8) happen to coincide.
-
-However, on e.g. German Windows guests this will cause an encoding error when
-reading any output from there.
-
-This patch ensures that the proper encoding is set on every command.
+Description: Fix encoding errors on Windows libvirt guests
+ On Windows guests the default encoding will be set to whatever
+ default legacy encoding, not utf-8. This issue isn't apparent on English locale
+ Windows guests, as there the encodings (ISO-8859-1, utf-8) happen to coincide.
+ However, on e.g. German Windows guests this will cause an encoding error when
+ reading any output from there.
+ This patch ensures that the proper encoding is set on every command.
+Author: Lee Garrett <debian@rocketjump.eu>
+Bug: https://github.com/ansible-collections/community.libvirt/issues/156
+Applied-Upstream: https://github.com/ansible-collections/community.libvirt/pull/157
+Reviewed-by: Lee Garrett <debian@rocketjump.eu>
+Last-Update: 2024-06-05
---
- plugins/connection/libvirt_qemu.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py
+++ b/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py
@@ -164,6 +164,10 @@