update final cleanup script

This commit is contained in:
manuel 2023-08-12 13:56:20 +00:00
parent de5c6bae6d
commit 28a34d0c7a
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