hopefully fix some python utf8/ascii yaml parsing issue
This commit is contained in:
parent
56946c0aa5
commit
acbe3b45ea
2 changed files with 11 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ _DEPENDENCIES="wget git xvfb \
|
||||||
python \
|
python \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
nodejs-mozilla \
|
nodejs-mozilla \
|
||||||
nasm-mozilla"
|
nasm-mozilla \
|
||||||
|
locales"
|
||||||
|
|
||||||
# cargo \
|
# cargo \
|
||||||
# rustc \
|
# rustc \
|
||||||
|
|
@ -67,6 +68,9 @@ else
|
||||||
apt-get -y install clang-13 libclang-13-dev
|
apt-get -y install clang-13 libclang-13-dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# avoid python parsing files as ascii instead of utf8 and complaining
|
||||||
|
locale-gen en_US.UTF-8
|
||||||
|
|
||||||
# we need a more recent rust
|
# we need a more recent rust
|
||||||
# …to test if a fix in 1.57 magically fixes aarch64 hanging
|
# …to test if a fix in 1.57 magically fixes aarch64 hanging
|
||||||
curl https://sh.rustup.rs -o rustup.sh
|
curl https://sh.rustup.rs -o rustup.sh
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,12 @@ export DEB_BUILD_HARDENING_FORMAT=1
|
||||||
export DEB_BUILD_HARDENING_PIE=1
|
export DEB_BUILD_HARDENING_PIE=1
|
||||||
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH
|
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH
|
||||||
|
|
||||||
|
# avoid python parsing files as ascii instead of utf8 and complaining
|
||||||
|
export LANG='en_US.UTF-8'
|
||||||
|
export LANGUAGE='en_US:en'
|
||||||
|
export LC_ALL='en_US.UTF-8'
|
||||||
|
|
||||||
|
|
||||||
# add cargo binary to path
|
# add cargo binary to path
|
||||||
source /root/.cargo/env
|
source /root/.cargo/env
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue