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-04-01 15:35:20 +0200
commit8345c518bde8de63a85ad14db44aa80c9ce3173a (patch)
treeac4fc6ecd8841e8e885c2299d578641828266d57
parent5820e7e1e784dc89e827a2c989d33f6339070421 (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 c5c6db0..94bcac3 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 $*
)
}