You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kali-live-build/kali-config/variant-xfce/hooks/live/remove-bloat-from-recommend...

22 lines
891 B
Bash

#!/bin/sh
# Remove bloat
apt-get -y remove --purge desktop-base tango-icon-theme xorg
# Kali 2025.1: live image is too big, remove texlive-latex-extra,
# as it's not a hard dependency, only a Recommends of gvmd-common
apt-get -y remove --purge texlive-latex-extra
# Kali 2025.3: live image is too big, remove firmware-marvell-prestera,
# as it's filtered out in live-build/functions/firmwarelists.sh
apt-get -y remove --purge firmware-marvell-prestera
# Kali 2025.3: remove numba-doc, a recommendation of python3-numba,
# itself a recommendation of python3-pandas, and so on... Far down
# the dep chain, and probably not needed for Kali users. While we're
# at it, remove other documentation packages of significant size.
# NOTE: it reduces the squashfs size of 9 Mb only, maybe not worth it.
apt-get -y remove --purge numba-doc python-odf-doc ruby3.3-doc
apt-get -y autoremove --purge