update final cleanup script

Signed-off-by: manuel <manuelsilvarosa@gmail.com>
This commit is contained in:
manuel 2023-08-12 14:04:14 +00:00
parent 28a34d0c7a
commit fa0d7a4f34
1 changed files with 5 additions and 10 deletions

View File

@ -4,7 +4,7 @@
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script removes unwanted software after Debian installation.
# This script removes unwanted software and files after Debian installation.
# Remove unwanted packages
chroot /target apt purge --autoremove -y \
@ -16,13 +16,8 @@ chroot /target apt purge --autoremove -y \
audacious \
connman \
deluge \
galculator
galculator \
raspi-firmware
# Clear package cache
chroot /target apt clean
# Update system packages
chroot /target apt update
# Upgrade system packages
chroot /target apt upgrade -y
# Clean unnecessary files
rm -r /target/boot/firmware