live-iso-kde/hooks/999-cleanup-apt-cache.chroot
ferreo da5264529c
All checks were successful
Release Nest NVIDIA amd64-v3 ISO / build (push) Successful in 15m9s
New ISO build
2024-09-27 19:49:05 +01:00

10 lines
282 B
Bash
Executable File

#!/bin/sh
# Description: Cleanup apt cache files that add ~100MB to the .iso and aren't needed
rm -f /var/lib/apt/lists/*_Packages
rm -f /var/lib/apt/lists/*_Sources
rm -f /var/lib/apt/lists/*_Translation-*
systemctl unmask fwupd || true
systemctl unmask nmdb || true
apt clean -y