mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-30 19:33:46 +08:00
Merge branch 'master' into 24.04
This commit is contained in:
+10
-6
@@ -11,10 +11,14 @@ touch /AGNOS
|
||||
# Add armhf as supported architecture
|
||||
dpkg --add-architecture armhf
|
||||
|
||||
# Install apt-fast
|
||||
apt-get update
|
||||
apt-get install -yq curl sudo wget
|
||||
bash -c "$(curl -sL https://git.io/vokNn)"
|
||||
|
||||
# Install packages
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get install -yq locales systemd adduser
|
||||
apt-fast install --no-install-recommends -yq locales systemd adduser
|
||||
|
||||
# Create privileged user
|
||||
useradd -G sudo -m -s /bin/bash $USERNAME
|
||||
@@ -46,8 +50,8 @@ echo "comma - nice -10" >> /etc/security/limits.conf
|
||||
locale-gen en_US.UTF-8
|
||||
update-locale LANG=en_US.UTF-8
|
||||
|
||||
apt-get upgrade -yq
|
||||
apt-get install --no-install-recommends -yq \
|
||||
apt-fast upgrade -yq
|
||||
apt-fast install --no-install-recommends -yq \
|
||||
alsa-utils \
|
||||
apport-retrace \
|
||||
bc \
|
||||
@@ -121,8 +125,8 @@ echo "comma ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
ln -sf /bin/bash /bin/sh
|
||||
|
||||
# Install necessary libs
|
||||
apt-get update -yq
|
||||
apt-get install --no-install-recommends -yq \
|
||||
apt-fast update -yq
|
||||
apt-fast install --no-install-recommends -yq \
|
||||
libacl1:armhf \
|
||||
libasan6-armhf-cross \
|
||||
libatomic1-armhf-cross \
|
||||
|
||||
@@ -7,15 +7,15 @@ PROVIDER_INFO_VERSION="20230416"
|
||||
|
||||
cd /tmp
|
||||
|
||||
apt update
|
||||
apt install -y --no-install-recommends automake autoconf build-essential cmake
|
||||
apt-fast update
|
||||
apt-fast install -y --no-install-recommends automake autoconf build-essential cmake
|
||||
|
||||
# TODO: clean up these build time dependencies
|
||||
apt install -y --no-install-recommends python3 python3-pip python3-setuptools python3-wheel ninja-build meson
|
||||
apt-fast install -y --no-install-recommends python3 python3-pip python3-setuptools python3-wheel ninja-build meson
|
||||
export PATH=$PATH:/root/.local/bin
|
||||
|
||||
# build mobile-broadband-provider-info
|
||||
apt install -y --no-install-recommends xsltproc
|
||||
apt-fast install -y --no-install-recommends xsltproc
|
||||
git clone -b $PROVIDER_INFO_VERSION --depth 1 https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git
|
||||
cd mobile-broadband-provider-info
|
||||
./autogen.sh
|
||||
@@ -24,7 +24,7 @@ make install
|
||||
|
||||
# build libqmi
|
||||
cd /tmp
|
||||
apt install -y --no-install-recommends libgudev-1.0-dev gobject-introspection libgirepository1.0-dev help2man bash-completion python-is-python3
|
||||
apt-fast install -y --no-install-recommends libgudev-1.0-dev gobject-introspection libgirepository1.0-dev help2man bash-completion python-is-python3
|
||||
|
||||
git clone -b $LIBQMI_VERSION --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
||||
cd libqmi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# for all the non-essential nice to haves
|
||||
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
apt-fast update && apt-fast install -y --no-install-recommends \
|
||||
irqtop \
|
||||
ripgrep \
|
||||
nfs-common
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
echo "Installing openpilot dependencies"
|
||||
|
||||
# Install necessary libs
|
||||
apt-get update
|
||||
apt-get install --no-install-recommends -yq \
|
||||
apt-fast update
|
||||
apt-fast install --no-install-recommends -yq \
|
||||
autoconf \
|
||||
automake \
|
||||
build-essential \
|
||||
|
||||
Reference in New Issue
Block a user