My-distro-DI-configs/my-distro-devuan-32-pae/deb-installer/scripts/07final-cleanup

19 lines
611 B
Bash
Executable File

#!/bin/sh -e
################################################################################
# Title: Final cleanup
# 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 \
calamares \
calamares-settings-debian \
raspi-firmware
# Clean unnecessary files
rm -r /target/boot/firmware