Skip to content

Commit

Permalink
init_build_environment: fix buster support
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Oct 12, 2024
1 parent be2a5f9 commit c4feeac
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions init_build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,20 @@ function install_dependencies() {
set -x

apt full-upgrade -y $BPO_FLAG
apt install -y $BPO_FLAG ack antlr3 asciidoc autoconf automake autopoint \
binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler ecj \
fakeroot fastjar flex gawk gettext genisoimage git gnutls-dev gperf haveged help2man \
intltool jq libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev \
libmpfr-dev libncurses-dev libreadline-dev libssl-dev libtool libyaml-dev libz-dev lrzsz \
msmtp nano ninja-build p7zip p7zip-full patch pkgconf libpython3-dev python3 python3-pip \
python3-ply python3-docutils python3-pyelftools qemu-utils quilt re2c rsync scons \
squashfs-tools subversion swig texinfo uglifyjs unzip vim wget xmlto zlib1g-dev zstd \
xxd $VERSION_PACKAGE
apt install -y $BPO_FLAG ack antlr3 asciidoc autoconf automake autopoint binutils bison \
build-essential bzip2 ccache cmake cpio curl device-tree-compiler ecj fakeroot \
fastjar flex gawk gettext genisoimage git gnutls-dev gperf haveged help2man \
intltool jq libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
libmpc-dev libmpfr-dev libncurses-dev libreadline-dev libssl-dev libtool \
libyaml-dev libz-dev lrzsz msmtp nano ninja-build p7zip p7zip-full patch \
pkgconf libpython3-dev python3 python3-pip python3-ply python3-docutils \
python3-pyelftools qemu-utils quilt re2c rsync scons squashfs-tools subversion \
swig texinfo uglifyjs unzip vim wget xmlto zlib1g-dev zstd xxd $VERSION_PACKAGE

# fix broken http2 support for curl on buster
if [ "$VERSION_CODENAME" == "buster"]; then
apt reinstall -y libcurl3-gnutls/buster
fi

if [ -n "$CHN_NET" ]; then
pip3 config set global.index-url "https://mirrors.aliyun.com/pypi/simple/"
Expand Down

0 comments on commit c4feeac

Please sign in to comment.