19 lines
620 B
Plaintext
19 lines
620 B
Plaintext
|
#!/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
|