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

19 lines
605 B
Plaintext
Raw Normal View History

2023-10-29 15:43:55 -01:00
#!/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