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

19 lines
611 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2023-11-16 12:32:50 -01:00
################################################################################
# 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