update final cleanup script
Signed-off-by: manuel <manuelsilvarosa@gmail.com>
This commit is contained in:
parent
28a34d0c7a
commit
fa0d7a4f34
|
@ -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
|
Loading…
Reference in New Issue