From 2c351271b9795d1c2b26bbd626ff702cef4ae987 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 07:34:10 +0200 Subject: Merging debian version 10.0.1+dfsg-1. Signed-off-by: Daniel Baumann --- ...libvirt-encoding-errors-on-windows-guests.patch | 29 ++++++++++------------ 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch') 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 -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 +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 +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 @@ -- cgit v1.2.3