summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2021-04-12 12:10:17 +0200
committerAndrej Shadura <andrewsh@debian.org>2022-11-11 11:45:36 +0100
commit843409b8bd325ed12c1a7a6eb2dae69355416fa9 (patch)
treee1502416105fdca23bba2c650a02257497389ce7
parent87bde25d13990ecb73e50c82404ec055d7939d54 (diff)
Force locale to C.UTF-8
Multiple packages have run into build failures on our OBS. On closer inspection, it was concluded to be issues with the locale settings. These issues were never seen on the Debian buildd infrastructure because there the locale setting LC_ALL=C.UTF-8 is in use. This change keeps us closer to what is used in Debian buildds. https://github.com/openSUSE/obs-build/pull/665 Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> Gbp-Pq: Name 0013-Force-locale-to-C.UTF-8.patch
-rw-r--r--build-pkg-deb2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-pkg-deb b/build-pkg-deb
index 1042b24..3cdf767 100644
--- a/build-pkg-deb
+++ b/build-pkg-deb
@@ -37,7 +37,7 @@ deb_chroot ()
cd $1 &&
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical \
DEBCONF_NONINTERACTIVE_SEEN=true \
- LC_ALL=C LANGUAGE=C LANG=C \
+ LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 LANG=C.UTF-8 \
chroot $*
)
}