summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b267f30..6152ce1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ stages:
variables: &base_vars
# Package locales supposedly provides update-locale
- DEBIAN_COMMON_PACKAGES: make python3.7 python3 git gcc g++ locales
+ DEBIAN_COMMON_PACKAGES: make python3.7 python3 git gcc g++ locales debconf-utils
GIT_DEPTH: 100 # Will break again eventually.
.prerequisites: &prerequisites
@@ -20,10 +20,14 @@ variables: &base_vars
- cat /etc/environment
- echo "locale.gen:"
- cat /etc/locale.gen
- - echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
- - locale-gen
- - update-locale LANG=en_US.UTF-8
- - locale
+# - echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
+# - locale-gen
+# - update-locale LANG=en_US.UTF-8
+# - locale
+# - dpkg-reconfigure --frontend noninteractive locales
+ - echo "locales locales/default_environment_locale select en_US.UTF-8" | debconf-set-selections
+ - echo "locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8" | debconf-set-selections
+ - rm "/etc/locale.gen"
- dpkg-reconfigure --frontend noninteractive locales
- locale
#- locale