From c6fecae9589b4fd9f92b7dd4975e4ef90ccf0c8d Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Thu, 18 Jun 2020 21:13:38 +1200 Subject: [PATCH] set PYTHONIOENCODING to utf-8 in snapcraft.yaml for subiquity{,-service} for https://bugs.launchpad.net/ubuntu-z-systems/+bug/1884027 Not really sure why this only shows up now. --- snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 83788e2c..7e640f39 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -8,6 +8,8 @@ confinement: classic apps: subiquity: command: usr/bin/subiquity + environment: + PYTHONIOENCODING: utf-8 subiquity-loadkeys: command: usr/bin/subiquity-loadkeys subiquity-configure-apt: @@ -22,6 +24,8 @@ apps: command: usr/bin/subiquity-service daemon: simple restart-condition: always + environment: + PYTHONIOENCODING: utf-8 parts: curtin: