Remove unused apt packages (#665)

This commit is contained in:
Adeeb Shihadeh
2026-10-19 13:02:36 -07:00
committed by GitHub
parent 6f5f8e35a4
commit e1a4fafcc5
3 changed files with 2 additions and 71 deletions
+1 -34
View File
@@ -20,75 +20,42 @@ apt-fast install --no-install-recommends -yq \
apport-retrace \
bc \
build-essential \
bzip2 \
cpuset \
dfu-util \
dhcpcd-base \
dirmngr \
dnsmasq-base \
evtest \
fdisk \
fontconfig \
fonts-ubuntu-console \
gdb \
git \
gnupg \
htop \
i2c-tools \
ifmetric \
iptables-persistent \
iputils-ping \
isc-dhcp-client \
jq \
kmod \
less \
libc6-dev \
libegl-dev \
libegl1 \
libffi-dev \
libgles-dev \
libgles1 \
libgles2 \
libi2c-dev \
libncursesw5-dev \
libnss-myhostname \
libsqlite3-dev \
libssl-dev \
libtool \
libx264-dev \
llvm-20 \
locales \
logrotate \
lsof \
nano \
net-tools \
network-manager \
nload \
openssh-client \
openssh-server \
openssl \
patch \
ppp \
psmisc \
rsync \
rsyslog \
screen \
smartmontools \
speedtest-cli \
sshfs \
strace \
systemd \
systemd-resolved \
systemd-timesyncd \
tmux \
traceroute \
udev \
udhcpc \
usbutils \
vim \
wireless-tools \
wpasupplicant \
zlib1g-dev
wpasupplicant
# Create the privileged user and hardware access groups.
useradd -G sudo -m -s /bin/bash "$USERNAME"
+1 -28
View File
@@ -5,40 +5,13 @@ echo "Installing openpilot dependencies"
# Install necessary libs
apt-fast update
apt-fast install --no-install-recommends -yq \
autoconf \
automake \
build-essential \
casync \
clang-20 \
cmake \
curl \
darkstat \
dkms \
gpiod \
libasound2-dev \
libcurl4-openssl-dev \
libdbus-1-dev \
libdrm-dev \
libffi-dev \
libfreetype6-dev \
libgbm-dev \
libglib2.0-0t64 \
libi2c-dev \
liblzma-dev \
libomp-20-dev \
libportaudio2 \
libsqlite3-dev \
libsystemd-dev \
libtool \
libudev-dev \
libusb-1.0-0-dev \
libuv1-dev \
libva-dev \
libzmq5 \
locales \
nethogs \
pkg-config \
texinfo \
vnstat \
wget \
zlib1g-dev
wget
-9
View File
@@ -31,10 +31,6 @@ systemctl enable screen_calibration.service
# Disable some of our services
systemctl disable agnos-tests.service
# Disable third party services
systemctl disable darkstat.service
systemctl disable vnstat.service
# Disable SSH by default
systemctl disable ssh
@@ -55,8 +51,3 @@ systemctl mask systemd-backlight@.service
systemctl mask alsa-restore.service
ln -s /dev/null /etc/udev/rules.d/90-alsa-restore.rules
systemctl disable dpkg-db-backup.timer
# TODO: this doesn't actually disable unless run twice...
# Service fails with Status: "No devices to monitor"
systemctl disable smartd.service
systemctl disable smartd.service