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) # 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 # Remove unwanted packages
chroot /target apt purge --autoremove -y \ chroot /target apt purge --autoremove -y \
@ -16,13 +16,8 @@ chroot /target apt purge --autoremove -y \
audacious \ audacious \
connman \ connman \
deluge \ deluge \
galculator galculator \
raspi-firmware
# Clear package cache # Clean unnecessary files
chroot /target apt clean rm -r /target/boot/firmware
# Update system packages
chroot /target apt update
# Upgrade system packages
chroot /target apt upgrade -y