2023-10-29 15:43:55 -01:00
|
|
|
#!/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
|
|
|
|
################################################################################
|
2023-10-29 15:43:55 -01:00
|
|
|
|
|
|
|
# Remove unwanted packages
|
|
|
|
chroot /target apt purge --autoremove -y \
|
|
|
|
calamares \
|
|
|
|
calamares-settings-debian \
|
|
|
|
raspi-firmware
|
|
|
|
|
|
|
|
# Clean unnecessary files
|
|
|
|
rm -r /target/boot/firmware
|