ExnixOS-BY-MR/eznixOS12X-calamares+debian.../eznixOS12X/D-I-installer/scripts/07final-cleanup

19 lines
620 B
Plaintext
Raw Normal View History

2023-11-19 18:09:38 -01:00
#!/bin/sh -e
################################################################################
# Title: 07final-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
chroot /target rm -r /boot/firmware