My-distro-DI-configs/scripts/07final-cleanup

19 lines
605 B
Bash
Executable File

#!/bin/sh -e
################################################################################
# Title: build-all.sh
# Description: This script removes unwanted software and files after Debian installation.
# Author: manuel rosa <manuelsilvarosa@gmail.com>
# Date: Outubro 29, 2023
# License: GPL-3.0-or-later
################################################################################
# Remove unwanted packages
chroot /target apt purge --autoremove -y \
raspi-firmware \
calamares \
calamares-settings*
# Clean unnecessary files
rm -r /target/boot/firmware